Lines 131-136
Link Here
|
131 |
M_PY_VAR_DECL(PyTypeObject *, PyInstance_Type); |
131 |
M_PY_VAR_DECL(PyTypeObject *, PyInstance_Type); |
132 |
|
132 |
|
133 |
// ints and longs |
133 |
// ints and longs |
|
|
134 |
M_PY_WRAPPER_DECL(PyObject *, PyBool_FromLong, (long)); |
134 |
M_PY_WRAPPER_DECL(long, PyInt_AsLong, (PyObject *)); |
135 |
M_PY_WRAPPER_DECL(long, PyInt_AsLong, (PyObject *)); |
135 |
M_PY_WRAPPER_DECL(PyObject*, PyInt_FromLong, (long)); |
136 |
M_PY_WRAPPER_DECL(PyObject*, PyInt_FromLong, (long)); |
136 |
M_PY_WRAPPER_DECL(PyObject *, PyLong_FromUnsignedLong, (unsigned long)); |
137 |
M_PY_WRAPPER_DECL(PyObject *, PyLong_FromUnsignedLong, (unsigned long)); |
Lines 278-283
Link Here
|
278 |
#define PyInstance_Type (*M_PyInstance_Type) |
279 |
#define PyInstance_Type (*M_PyInstance_Type) |
279 |
|
280 |
|
280 |
// ints and longs |
281 |
// ints and longs |
|
|
282 |
#define PyBool_FromLong M_PyBool_FromLong |
281 |
#define PyInt_AsLong M_PyInt_AsLong |
283 |
#define PyInt_AsLong M_PyInt_AsLong |
282 |
#define PyInt_FromLong M_PyInt_FromLong |
284 |
#define PyInt_FromLong M_PyInt_FromLong |
283 |
#define PyLong_FromUnsignedLong M_PyLong_FromUnsignedLong |
285 |
#define PyLong_FromUnsignedLong M_PyLong_FromUnsignedLong |