mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-19 06:54:58 +02:00
...
This commit is contained in:
@@ -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, ...) \
|
||||||
|
|||||||
Reference in New Issue
Block a user