python: add macro for early return (#44287)
This commit is contained in:
parent
05dea2eab5
commit
35682272ec
|
@ -73,6 +73,8 @@ void PyErr_WarnFormat(PyObject *category, int stacklevel, const char *format, ..
|
|||
}
|
||||
#endif
|
||||
|
||||
#define RETURN_IF_FAIL(op) do { if (! (op)) { return NULL; } } while(0)
|
||||
|
||||
GQuark lasso_wrapper_key;
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue