Difference for plugins/cfpython/cfpython_map.c from version 1.7 to 1.8


version 1.7 version 1.8
Line 193
 
Line 193
  return Crossfire_Map_wrap(cf_map_get_property(map->map,CFAPI_MAP_PROP_NEXT));   return Crossfire_Map_wrap(cf_map_get_property(map->map,CFAPI_MAP_PROP_NEXT));
 }  }
   
   static PyObject* Map_Insert(Crossfire_Map* map, PyObject* args)
   {
       int x, y;
       Crossfire_Object* what;
      
       if (!PyArg_ParseTuple(args,"O!ii", &Crossfire_ObjectType, &what, &x, &y))
           return NULL;
   
       return Crossfire_Object_wrap(cf_map_insert_object(map->map, what->obj, x, y));
   }
   
 static int Map_InternalCompare(Crossfire_Map* left, Crossfire_Map* right)  static int Map_InternalCompare(Crossfire_Map* left, Crossfire_Map* right)
 {  {
  return left->map < right->map ? -1 : ( left->map == right->map ? 0 : 1 );   return left->map < right->map ? -1 : ( left->map == right->map ? 0 : 1 );


Legend:
line(s) removed in v.1.7 
line(s) changed
 line(s) added in v.1.8

File made using version 1.98 of cvs2html by leaf at 2011-07-21 16:59