diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-05-29 07:50:29 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-05-29 08:55:25 +0300 |
commit | 654fde2dd213e8799da09875eab961d5286b2452 (patch) | |
tree | 28ead63734dbde1f1f003f16c97781c0aaafc58c /source/blender/python/intern/bpy_library.h | |
parent | e115b7b06d325c00edae733f3eefd6dbab2dd89e (diff) |
PyAPI: use bpy_rna_types_capi.c to set type methods
Remove use of '_bpy' as an intermediate module to store functions
which were then assigned in bpy_types.py.
Diffstat (limited to 'source/blender/python/intern/bpy_library.h')
-rw-r--r-- | source/blender/python/intern/bpy_library.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/python/intern/bpy_library.h b/source/blender/python/intern/bpy_library.h index 3fd116d7028..6840807d2b0 100644 --- a/source/blender/python/intern/bpy_library.h +++ b/source/blender/python/intern/bpy_library.h @@ -21,7 +21,9 @@ #ifndef __BPY_LIBRARY_H__ #define __BPY_LIBRARY_H__ -int BPY_library_load_module(PyObject *mod_par); -int BPY_library_write_module(PyObject *mod_par); +int BPY_library_load_type_ready(void); +extern PyMethodDef BPY_library_load_method_def; + +extern PyMethodDef BPY_library_write_method_def; #endif /* __BPY_LIBRARY_H__ */ |