view Python/importdl.h @ 81314:ce99559efa46

Issue #16854: Fix regrtest.usage() regression introduced in 6e2e5adc0400. This fixes a regression introduced in the commit for issue #15302, which switched regrtest from getopt to argparse.
author Chris Jerdonek <chris.jerdonek@gmail.com>
date Mon, 07 Jan 2013 17:07:32 -0800
parents ffc6e6b00949
children
line wrap: on
line source

#ifndef Py_IMPORTDL_H
#define Py_IMPORTDL_H

#ifdef __cplusplus
extern "C" {
#endif


extern const char *_PyImport_DynLoadFiletab[];

extern PyObject *_PyImport_LoadDynamicModule(PyObject *name, PyObject *pathname,
                                             FILE *);

/* Max length of module suffix searched for -- accommodates "module.slb" */
#define MAXSUFFIXSIZE 12

#ifdef MS_WINDOWS
#include <windows.h>
typedef FARPROC dl_funcptr;
#else
typedef void (*dl_funcptr)(void);
#endif


#ifdef __cplusplus
}
#endif
#endif /* !Py_IMPORTDL_H */