Cleanup: consistent use of tags: NOTE/TODO/FIXME/XXX
Also use doxy style function reference `#` prefix chars when referencing identifiers.
This commit is contained in:
@@ -46,9 +46,8 @@ static PyObject *func_bpy_atregister = NULL; /* borrowed reference, `atexit` hol
|
||||
|
||||
static void atexit_func_call(const char *func_name, PyObject *atexit_func_arg)
|
||||
{
|
||||
/* note - no error checking, if any of these fail we'll get a crash
|
||||
* this is intended, but if its problematic it could be changed
|
||||
* - campbell */
|
||||
/* NOTE(campbell): no error checking, if any of these fail we'll get a crash
|
||||
* this is intended, but if its problematic it could be changed. */
|
||||
|
||||
PyObject *atexit_mod = PyImport_ImportModuleLevel("atexit", NULL, NULL, NULL, 0);
|
||||
PyObject *atexit_func = PyObject_GetAttrString(atexit_mod, func_name);
|
||||
|
||||
Reference in New Issue
Block a user