diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-09-19 03:21:24 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-09-19 03:21:24 +0400 |
commit | 4dd7d4110a06422b5a86a609b7cc7687bd570fef (patch) | |
tree | 983554da24330943407ac010b4b66ed7da13b66a /source/blender/python/generic/idprop_py_api.c | |
parent | 7335a4af048d955105873500b5e4a402cd8ee00c (diff) |
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).
Diffstat (limited to 'source/blender/python/generic/idprop_py_api.c')
-rw-r--r-- | source/blender/python/generic/idprop_py_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/generic/idprop_py_api.c b/source/blender/python/generic/idprop_py_api.c index fc4b78b5c05..f7ed5fec891 100644 --- a/source/blender/python/generic/idprop_py_api.c +++ b/source/blender/python/generic/idprop_py_api.c @@ -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; |