diff options
author | Mark Hammond <mhammond@skippinet.com.au> | 2002-07-29 13:42:14 (GMT) |
---|---|---|
committer | Mark Hammond <mhammond@skippinet.com.au> | 2002-07-29 13:42:14 (GMT) |
commit | a2905273766bbbebb87274c87b62772cdfaeb180 (patch) | |
tree | 0d6895a5967201c6908e1838cc2e39de6fdf13de /Include/import.h | |
parent | f4ad4ce5a0f644417c6c50035979020386fe09fc (diff) | |
download | cpython-a2905273766bbbebb87274c87b62772cdfaeb180.zip cpython-a2905273766bbbebb87274c87b62772cdfaeb180.tar.gz cpython-a2905273766bbbebb87274c87b62772cdfaeb180.tar.bz2 |
Excise DL_IMPORT/EXPORT from object.h, and related files. This patch
also adds 'extern' to PyAPI_DATA rather than at each declaration, as
discussed with Tim and Guido.
Diffstat (limited to 'Include/import.h')
-rw-r--r-- | Include/import.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Include/import.h b/Include/import.h index 3f6157d..c2c869e 100644 --- a/Include/import.h +++ b/Include/import.h @@ -21,18 +21,18 @@ PyAPI_FUNC(PyObject *) PyImport_ReloadModule(PyObject *m); PyAPI_FUNC(void) PyImport_Cleanup(void); PyAPI_FUNC(int) PyImport_ImportFrozenModule(char *); -extern PyAPI_FUNC(PyObject *)_PyImport_FindExtension(char *, char *); -extern PyAPI_FUNC(PyObject *)_PyImport_FixupExtension(char *, char *); +PyAPI_FUNC(PyObject *)_PyImport_FindExtension(char *, char *); +PyAPI_FUNC(PyObject *)_PyImport_FixupExtension(char *, char *); struct _inittab { char *name; void (*initfunc)(void); }; -extern PyAPI_DATA(struct _inittab *) PyImport_Inittab; +PyAPI_DATA(struct _inittab *) PyImport_Inittab; -extern PyAPI_FUNC(int) PyImport_AppendInittab(char *name, void (*initfunc)(void)); -extern PyAPI_FUNC(int) PyImport_ExtendInittab(struct _inittab *newtab); +PyAPI_FUNC(int) PyImport_AppendInittab(char *name, void (*initfunc)(void)); +PyAPI_FUNC(int) PyImport_ExtendInittab(struct _inittab *newtab); struct _frozen { char *name; @@ -43,7 +43,7 @@ struct _frozen { /* Embedding apps may change this pointer to point to their favorite collection of frozen modules: */ -extern PyAPI_DATA(struct _frozen *) PyImport_FrozenModules; +PyAPI_DATA(struct _frozen *) PyImport_FrozenModules; #ifdef __cplusplus } |