commit | 1f325562f024132d3603c718966dd5d8c8be79ea | [log] [tgz] |
---|---|---|
author | Jim Fulton <jim@zope.com> | Fri May 16 13:53:43 2003 +0000 |
committer | Jim Fulton <jim@zope.com> | Fri May 16 13:53:43 2003 +0000 |
tree | 81c055eaa59d7d0a12e983ed3fa36be3ff3ae782 | |
parent | a24d73ddb15c8f1d1a2073a4cc16859333d23bb4 [diff] [blame] |
Added some missing PyObject* casts in the deallocators. Added some defines for PyMODINIT_FUNC so that the examples work with Python 2.2. I think I'm done hacking this documentation. Yippie! :)
diff --git a/Doc/ext/noddy.c b/Doc/ext/noddy.c index 1988de6..849b3c9 100644 --- a/Doc/ext/noddy.c +++ b/Doc/ext/noddy.c
@@ -51,6 +51,9 @@ {NULL} /* Sentinel */ }; +#ifndef PyMODINIT_FUNC /* declarations for DLL import/export */ +#define PyMODINIT_FUNC void +#endif PyMODINIT_FUNC initnoddy(void) {