diff options
| author | Bjoern Brandenburg <bbb@mpi-sws.org> | 2012-08-07 13:51:20 -0400 |
|---|---|---|
| committer | Bjoern Brandenburg <bbb@mpi-sws.org> | 2013-02-12 06:49:39 -0500 |
| commit | 6bd218ab3d181a6295de0da88489abe40ffd3cec (patch) | |
| tree | 1728ec9175b18d31ab795b5c7912828bcdeb2d71 /native/interface | |
| parent | 54d69ea3e123b20303871b0179599f92a39aafdf (diff) | |
Extract sharedres_types.h from sharedres.h
The LP code requires many of the same definitions. Therefore, this patch splits the reusable
type definitions into an individual file to facilitate inclusion.
Diffstat (limited to 'native/interface')
| -rw-r--r-- | native/interface/locking.i | 14 | ||||
| -rw-r--r-- | native/interface/sharedres_types.i | 13 |
2 files changed, 14 insertions, 13 deletions
diff --git a/native/interface/locking.i b/native/interface/locking.i index 95cc88d..208fb74 100644 --- a/native/interface/locking.i +++ b/native/interface/locking.i | |||
| @@ -18,19 +18,7 @@ | |||
| 18 | %newobject mpcp_bounds; | 18 | %newobject mpcp_bounds; |
| 19 | %newobject dpcp_bounds; | 19 | %newobject dpcp_bounds; |
| 20 | 20 | ||
| 21 | %ignore Interference; | 21 | %include "sharedres_types.i" |
| 22 | %ignore RequestBound; | ||
| 23 | %ignore TaskInfo; | ||
| 24 | |||
| 25 | %ignore ResourceSharingInfo::get_tasks; | ||
| 26 | |||
| 27 | %ignore BlockingBounds::raise_request_span; | ||
| 28 | %ignore BlockingBounds::get_max_request_span; | ||
| 29 | %ignore BlockingBounds::operator[](unsigned int); | ||
| 30 | %ignore BlockingBounds::operator[](unsigned int) const; | ||
| 31 | |||
| 32 | %ignore ResourceLocality::operator[](unsigned int) const; | ||
| 33 | %ignore ReplicaInfo::operator[](unsigned int) const; | ||
| 34 | 22 | ||
| 35 | #include "sharedres.h" | 23 | #include "sharedres.h" |
| 36 | 24 | ||
diff --git a/native/interface/sharedres_types.i b/native/interface/sharedres_types.i new file mode 100644 index 0000000..be84d9c --- /dev/null +++ b/native/interface/sharedres_types.i | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | %ignore Interference; | ||
| 2 | %ignore RequestBound; | ||
| 3 | %ignore TaskInfo; | ||
| 4 | |||
| 5 | %ignore ResourceSharingInfo::get_tasks; | ||
| 6 | |||
| 7 | %ignore BlockingBounds::raise_request_span; | ||
| 8 | %ignore BlockingBounds::get_max_request_span; | ||
| 9 | %ignore BlockingBounds::operator[](unsigned int); | ||
| 10 | %ignore BlockingBounds::operator[](unsigned int) const; | ||
| 11 | |||
| 12 | %ignore ResourceLocality::operator[](unsigned int) const; | ||
| 13 | %ignore ReplicaInfo::operator[](unsigned int) const; | ||
