...
This commit is contained in:
parent
b8c34c3ee2
commit
f97127f587
@ -22,7 +22,7 @@
|
|||||||
if ((name) != NULL) { \
|
if ((name) != NULL) { \
|
||||||
PyObject *_pyret = PyObject_CallFunction((name), fmt, __VA_ARGS__); \
|
PyObject *_pyret = PyObject_CallFunction((name), fmt, __VA_ARGS__); \
|
||||||
if (_pyret == NULL) PyErr_Print(); \
|
if (_pyret == NULL) PyErr_Print(); \
|
||||||
Py_DECREF(_pyret); \
|
else Py_DECREF(_pyret); \
|
||||||
}
|
}
|
||||||
|
|
||||||
#define WINDOW_CALLBACK(name, fmt, ...) \
|
#define WINDOW_CALLBACK(name, fmt, ...) \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user