Fix 'public' global 'g_atexit' var in Blender.
No reason to not make this private to this file, and it gave conflict when using bpy as module and loading it in a GLib application (which also has a g_atexit var).
This commit is contained in:
parent
9e97b00873
commit
ac8348d033
|
@ -234,7 +234,7 @@ int BKE_blender_test_break(void)
|
|||
* \note Don't use MEM_mallocN so functions can be registered at any time.
|
||||
* \{ */
|
||||
|
||||
struct AtExitData {
|
||||
static struct AtExitData {
|
||||
struct AtExitData *next;
|
||||
|
||||
void (*func)(void *user_data);
|
||||
|
|
Loading…
Reference in New Issue