From 70d3d1aca6612d8168d80ca72938dad06086003b Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 16 Mar 2012 21:39:56 +0000 Subject: style cleanup: py/capi --- source/blender/python/intern/bpy_app_handlers.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'source/blender/python/intern/bpy_app_handlers.c') diff --git a/source/blender/python/intern/bpy_app_handlers.c b/source/blender/python/intern/bpy_app_handlers.c index daa842f0629..54848161b89 100644 --- a/source/blender/python/intern/bpy_app_handlers.c +++ b/source/blender/python/intern/bpy_app_handlers.c @@ -256,10 +256,10 @@ void BPY_app_handlers_reset(const short do_all) for (i = PyList_GET_SIZE(ls) - 1; i >= 0; i--) { - if ( (PyFunction_Check((item = PyList_GET_ITEM(ls, i)))) && - (dict_ptr = _PyObject_GetDictPtr(item)) && - (*dict_ptr) && - (PyDict_GetItem(*dict_ptr, perm_id_str) != NULL)) + if ((PyFunction_Check((item = PyList_GET_ITEM(ls, i)))) && + (dict_ptr = _PyObject_GetDictPtr(item)) && + (*dict_ptr) && + (PyDict_GetItem(*dict_ptr, perm_id_str) != NULL)) { /* keep */ } @@ -283,9 +283,9 @@ void bpy_app_generic_callback(struct Main *UNUSED(main), struct ID *id, void *ar if ((cb_list_len = PyList_GET_SIZE(cb_list)) > 0) { PyGILState_STATE gilstate = PyGILState_Ensure(); - PyObject* args = PyTuple_New(1); // save python creating each call - PyObject* func; - PyObject* ret; + PyObject *args = PyTuple_New(1); // save python creating each call + PyObject *func; + PyObject *ret; Py_ssize_t pos; /* setup arguments */ -- cgit v1.2.3