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.
This commit is contained in:
Mark Hammond 2002-07-29 13:42:14 +00:00
parent f4ad4ce5a0
commit a290527376
7 changed files with 97 additions and 97 deletions

View file

@ -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
}