Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-11-22 12:45:32 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-11-22 12:45:32 +0400
commit93ad97c131c97050f998332300dabd02c3b30e87 (patch)
treeb55c12a93a7c286dd310ed4b922ff450db399fee /source/blender/python/intern/bpy_intern_string.h
parent762016c74602102634ec2e692433c0feab7952e7 (diff)
avoid string -> unicode conversion when registering classes, also avoid unlikely but possible crash if the py-class returns new instances of PyObjects it doesnt own when registering the class.
Diffstat (limited to 'source/blender/python/intern/bpy_intern_string.h')
-rw-r--r--source/blender/python/intern/bpy_intern_string.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/python/intern/bpy_intern_string.h b/source/blender/python/intern/bpy_intern_string.h
index dc7af735743..0b7ca2cd47b 100644
--- a/source/blender/python/intern/bpy_intern_string.h
+++ b/source/blender/python/intern/bpy_intern_string.h
@@ -33,3 +33,5 @@ extern PyObject *bpy_intern_str_bl_rna;
extern PyObject *bpy_intern_str_order;
extern PyObject *bpy_intern_str_attr;
extern PyObject *bpy_intern_str___slots__;
+extern PyObject *bpy_intern_str___name__;
+extern PyObject *bpy_intern_str___doc__;