replace macro PYC_INTERPRETER_ACTIVE for PyC_IsInterpreterActive() function call,
(indirectly referenced Python define of ~30 lines, most were optimized out but still caused some code bloat).
This commit is contained in:
@@ -1518,7 +1518,7 @@ void IDP_spit(IDProperty *prop)
|
||||
{
|
||||
if (prop) {
|
||||
PyGILState_STATE gilstate;
|
||||
int use_gil = TRUE; /* !PYC_INTERPRETER_ACTIVE; */
|
||||
int use_gil = TRUE; /* !PyC_IsInterpreterActive(); */
|
||||
PyObject *ret_dict;
|
||||
PyObject *ret_str;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user