diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-10-15 10:12:03 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-10-15 11:00:16 +0300 |
commit | 5531697f6d4a27137dd91996ee80d452b7147a02 (patch) | |
tree | 8c024bc8acac8387a22cc7bfa43ed4d1a5691321 /source/blender/python/intern/bpy.h | |
parent | 1cc3abca701775e0ddb0756a262df99b8e7a0276 (diff) |
Cleanup: remove duplicate context variable (__py_context)
The context was stored both in __py_context & bpy_context_module.
This avoids duplicate functions to update them too.
Diffstat (limited to 'source/blender/python/intern/bpy.h')
-rw-r--r-- | source/blender/python/intern/bpy.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/python/intern/bpy.h b/source/blender/python/intern/bpy.h index 744bf903443..e2fe84f71c7 100644 --- a/source/blender/python/intern/bpy.h +++ b/source/blender/python/intern/bpy.h @@ -24,7 +24,9 @@ extern "C" { #endif -void BPy_init_modules(void); +struct bContext; + +void BPy_init_modules(struct bContext *C); extern PyObject *bpy_package_py; /* bpy_interface_atexit.c */ |