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:
alexhudson
2007-07-13 21:17:21 +00:00
parent 1764749c58
commit fb042f0ac5
52 changed files with 140 additions and 123 deletions
+28
View File
@@ -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 */