diff options
author | Mark Hammond <mhammond@skippinet.com.au> | 2002-07-29 13:42:14 +0000 |
---|---|---|
committer | Mark Hammond <mhammond@skippinet.com.au> | 2002-07-29 13:42:14 +0000 |
commit | 868e0a4b4411edf7a1e59cd0fbd520c4e289ec3c (patch) | |
tree | 9bb0b88493eb04a804887d593ff90ab411a44854 /Include/import.h | |
parent | d2688a389898c95ac81ff71257f628ca310abf68 (diff) | |
download | cpython-868e0a4b4411edf7a1e59cd0fbd520c4e289ec3c.tar.gz |
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 3f6157d3f8..c2c869e496 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 } |