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>2011-11-15 11:09:41 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-11-15 11:09:41 +0400
commitd6c1009195df15f6eb920f36610c0d679bce415e (patch)
tree442c2dbef77eaabba38b1e6625bcc6b905895394 /source/blender/makesrna/RNA_types.h
parent8a0da0b59e0277b48bf4dbb00c6a01d026e6d0bb (diff)
bytestring support for py/rna - this is so py can access data which
isn't meant to be accessed as unicode text.
Diffstat (limited to 'source/blender/makesrna/RNA_types.h')
-rw-r--r--source/blender/makesrna/RNA_types.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/makesrna/RNA_types.h b/source/blender/makesrna/RNA_types.h
index 1655665efe3..e768594fe73 100644
--- a/source/blender/makesrna/RNA_types.h
+++ b/source/blender/makesrna/RNA_types.h
@@ -108,7 +108,9 @@ typedef enum PropertySubType {
PROP_FILEPATH = 1,
PROP_DIRPATH = 2,
PROP_FILENAME = 3,
- PROP_TRANSLATE = 4, /* a string which should be translated */
+ PROP_BYTESTRING = 4, /* a string which should be represented as bytes
+ * in python, still NULL terminated though. */
+ PROP_TRANSLATE = 5, /* a string which should be translated */
/* numbers */
PROP_UNSIGNED = 13,