version 1.2 | version 1.3 | |||
---|---|---|---|---|
|
| |||
return Crossfire_Object_wrap(foundob); | return Crossfire_Object_wrap(foundob); | |||
} | } | |||
static int Map_InternalCompare(Crossfire_Map* left, Crossfire_Map* right) | ||||
{ | ||||
return (int)left->map - (int)right->map; | ||||
} | ||||
/* Legacy code: convert to long so that non-object functions work correctly */ | /* Legacy code: convert to long so that non-object functions work correctly */ | |||
static PyObject* Crossfire_Map_Long( PyObject* obj ) | static PyObject* Crossfire_Map_Long( PyObject* obj ) | |||
{ | { |
Legend:
|