Uniform handling of SWIGEXPORT across SWIG.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7234 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
27270d050d
commit
c25d1c8e35
8 changed files with 20 additions and 51 deletions
|
|
@ -297,7 +297,7 @@ PyModule_AddObject(PyObject *m, char *name, PyObject *o)
|
|||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
#endif
|
||||
SWIGEXPORT(void) SWIG_init(void) {
|
||||
SWIGEXPORT void SWIG_init(void) {
|
||||
static PyObject *SWIG_globals = 0;
|
||||
PyObject *m, *d;
|
||||
if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue