Changeset 839
- Timestamp:
- 05/27/06 07:44:15 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.2/program/bindings/python/rrdtoolmodule.c
r545 r839 49 49 50 50 /* forward declaration to keep compiler happy */ 51 void initrrdtool(void); 51 /*void initrrdtool(void);*/ 52 void initrrdtoolmodule(void); 52 53 53 54 static int … … 493 494 /* Initialization function for the module */ 494 495 void 495 initrrdtool(void) 496 /*initrrdtool(void)*/ 497 initrrdtoolmodule(void) 496 498 { 497 499 PyObject *m, *d, *t; 498 500 499 501 /* Create the module and add the functions */ 500 m = Py_InitModule("rrdtool ", _rrdtool_methods);502 m = Py_InitModule("rrdtoolmodule", _rrdtool_methods); 501 503 502 504 /* Add some symbolic constants to the module */ … … 504 506 505 507 SET_STRCONSTANT(d, __version__); 506 ErrorObject = PyErr_NewException(" _rrdtool.error", NULL, NULL);508 ErrorObject = PyErr_NewException("rrdtoolmodule.error", NULL, NULL); 507 509 PyDict_SetItemString(d, "error", ErrorObject); 508 510
Note: See TracChangeset
for help on using the changeset viewer.


