Difference for plugins/cfpython/cfpython.c from version 1.14 to 1.15


version 1.14 version 1.15
Line 107
 
Line 107
 static PyObject* getSharedDictionary(PyObject* self, PyObject* args);  static PyObject* getSharedDictionary(PyObject* self, PyObject* args);
 static PyObject* getArchetypes(PyObject* self, PyObject* args);  static PyObject* getArchetypes(PyObject* self, PyObject* args);
 static PyObject* getMaps(PyObject* self, PyObject* args);  static PyObject* getMaps(PyObject* self, PyObject* args);
   static PyObject* getParties(PyObject* self, PyObject* args);
 static PyObject* registerCommand(PyObject* self, PyObject* args);  static PyObject* registerCommand(PyObject* self, PyObject* args);
 static PyObject* registerGEvent(PyObject* self, PyObject* args);  static PyObject* registerGEvent(PyObject* self, PyObject* args);
 static PyObject* unregisterGEvent(PyObject* self, PyObject* args);  static PyObject* unregisterGEvent(PyObject* self, PyObject* args);
Line 165
 
Line 166
     {"GetSharedDictionary",  getSharedDictionary,   METH_VARARGS},      {"GetSharedDictionary",  getSharedDictionary,   METH_VARARGS},
     {"GetArchetypes",       getArchetypes,          METH_VARARGS},      {"GetArchetypes",       getArchetypes,          METH_VARARGS},
     {"GetMaps",             getMaps,                METH_VARARGS},      {"GetMaps",             getMaps,                METH_VARARGS},
       {"GetParties",          getParties,             METH_VARARGS},
     {"RegisterCommand",     registerCommand,        METH_VARARGS},      {"RegisterCommand",     registerCommand,        METH_VARARGS},
     {"RegisterGlobalEvent", registerGEvent,         METH_VARARGS},      {"RegisterGlobalEvent", registerGEvent,         METH_VARARGS},
     {"UnregisterGlobalEvent",unregisterGEvent,      METH_VARARGS},      {"UnregisterGlobalEvent",unregisterGEvent,      METH_VARARGS},
Line 566
 
Line 568
  return list;   return list;
 }  }
   
   static PyObject* getParties(PyObject* self, PyObject* args)
   {
    PyObject* list;
    partylist* party;
   
    list = PyList_New(0);
    party = cf_party_get_first();
    while (party)
    {
    PyList_Append(list,Crossfire_Party_wrap(party));
    party = cf_party_get_next(party);
    }
    return list;
   }
   
 static PyObject* registerCommand(PyObject* self, PyObject* args)  static PyObject* registerCommand(PyObject* self, PyObject* args)
 {  {
     char *cmdname;      char *cmdname;


Legend:
line(s) removed in v.1.14 
line(s) changed
 line(s) added in v.1.15

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