Difference for plugins/cfpython/cfpython.c from version 1.35 to 1.36


version 1.35 version 1.36
Line 124
 
Line 124
 static PyObject* unregisterGEvent(PyObject* self, PyObject* args);  static PyObject* unregisterGEvent(PyObject* self, PyObject* args);
 static PyObject* CFPythonError;  static PyObject* CFPythonError;
 static PyObject* getTime(PyObject* self, PyObject* args);  static PyObject* getTime(PyObject* self, PyObject* args);
   static PyObject* destroyTimer(PyObject* self, PyObject* args);
   
 /** Set up an Python exception object. */  /** Set up an Python exception object. */
 static void set_exception(const char *fmt, ...)  static void set_exception(const char *fmt, ...)
Line 184
 
Line 185
     {"RegisterGlobalEvent", registerGEvent,         METH_VARARGS},      {"RegisterGlobalEvent", registerGEvent,         METH_VARARGS},
     {"UnregisterGlobalEvent",unregisterGEvent,      METH_VARARGS},      {"UnregisterGlobalEvent",unregisterGEvent,      METH_VARARGS},
     {"GetTime",             getTime,                METH_VARARGS},      {"GetTime",             getTime,                METH_VARARGS},
       {"DestroyTimer",        destroyTimer,           METH_VARARGS},
     {NULL, NULL, 0}      {NULL, NULL, 0}
 };  };
   
Line 658
 
Line 660
     return list;      return list;
     }      }
   
   static PyObject* destroyTimer(PyObject* self, PyObject* args)
   {
       int id;
       if (!PyArg_ParseTuple(args, "i", &id))
           return NULL;
       return Py_BuildValue("i", cf_timer_destroy(id));
   }
   
 void initContextStack()  void initContextStack()
 {  {
     current_context = NULL;      current_context = NULL;


Legend:
line(s) removed in v.1.35 
line(s) changed
 line(s) added in v.1.36

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