Scary looking python patch; separate the C-module stuff from pure python for the benefit of OSes which keep them separately.
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
#ifndef PYBONGO_H
|
||||
#define PYBONGO_H
|
||||
|
||||
#include <Python.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
struct EnumItemDef {
|
||||
char *name;
|
||||
long value;
|
||||
char *strvalue;
|
||||
};
|
||||
|
||||
typedef struct EnumItemDef EnumItemDef;
|
||||
|
||||
void AddLibrary(PyObject *, char *, PyMethodDef *, EnumItemDef *);
|
||||
|
||||
extern int BongoCalPostInit(PyObject *module);
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* PYBONGO_H */
|
||||
Reference in New Issue
Block a user