diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-08-14 16:29:55 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-08-14 16:29:55 +0400 |
commit | 08f0938434598b23d0dd1879f598e342a194cb63 (patch) | |
tree | 24534061675641b9efab5e69508ac9bde30b5efa /source/blender/python/intern/bpy_rna.h | |
parent | 4bbccd39bc827e5d794bdbe987b4d48164e8d950 (diff) |
- registering new python classes runs the free functions on existing classes.
- print an error if RNA Structs are freed with a python pointer set to help with debugging leaks.
- fix for unlikely eternal loop in unit conversion.
Diffstat (limited to 'source/blender/python/intern/bpy_rna.h')
-rw-r--r-- | source/blender/python/intern/bpy_rna.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/python/intern/bpy_rna.h b/source/blender/python/intern/bpy_rna.h index 9138fd511b0..d14b7f1addb 100644 --- a/source/blender/python/intern/bpy_rna.h +++ b/source/blender/python/intern/bpy_rna.h @@ -83,4 +83,7 @@ PyObject *BPy_StringProperty(PyObject *self, PyObject *args, PyObject *kw); PyObject *pyrna_basetype_register(PyObject *self, PyObject *args); PyObject *pyrna_basetype_unregister(PyObject *self, PyObject *args); +/* called before stopping python */ +void pyrna_free_types(void); + #endif |