- Previous segmentation fault was due to a faulty call (wrong parameters

to ScriptAdapter.__wrap_sort_queue()). Now prints an error and check
for retval before Py_DECREF'ing it.
- Fix(?) qsort implementation in Policy
- SWIG doesn't understand "uint". Change into more verbose (but surely
standard) unsigned int


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@394 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
tchernobog 2006-02-23 10:12:27 +00:00
parent 075e12d14d
commit a2a492b5d5
5 changed files with 28 additions and 26 deletions

View file

@ -126,8 +126,8 @@ namespace sgpem {
class SchedulableList
{
public:
uint size() const;
const SchedulableStatus* get_item_at(const uint&) const;
unsigned int size() const;
const SchedulableStatus* get_item_at(const unsigned int&) const;
void swap(unsigned int positionA, unsigned int positionB) throw();
private: