mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-17 12:12:10 -04:00
Added wrappers so that this works as libheapq or libp3heapq
This commit is contained in:
parent
cea56b4d81
commit
c4415bc1de
@ -21,8 +21,10 @@ static int _siftup(PyObject *list, int pos);
|
||||
|
||||
#ifdef _WIN32
|
||||
extern "C" __declspec(dllexport) void initlibheapq(void);
|
||||
extern "C" __declspec(dllexport) void initlibp3heapq(void);
|
||||
#else
|
||||
extern "C" void initlibheapq();
|
||||
extern "C" void initlibp3heapq();
|
||||
#endif
|
||||
|
||||
static PyObject *
|
||||
@ -232,4 +234,7 @@ void initlibheapq(void) {
|
||||
(void) Py_InitModule("libheapq", heapqcMethods);
|
||||
};
|
||||
|
||||
void initlibp3heapq(void) {
|
||||
(void) Py_InitModule("libp3heapq", heapqcMethods);
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user