This commit is contained in:
Kovid Goyal 2017-09-09 13:21:35 +05:30
parent b8c34c3ee2
commit f97127f587
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -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, ...) \