diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-11-15 13:12:10 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-11-15 13:12:10 +0400 |
commit | 2ab17326135e666dd31bb0695ebc2ef426615fae (patch) | |
tree | 57fb344834d44580aa45e1c82be56115116aec48 /source/blender/blenkernel/BKE_idprop.h | |
parent | ae046bc0eba28acb4101215e7dae411f99214ea1 (diff) |
support for non-null terminated byte strings in id properties (as a subtype of IDP_STRING types)
Diffstat (limited to 'source/blender/blenkernel/BKE_idprop.h')
-rw-r--r-- | source/blender/blenkernel/BKE_idprop.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_idprop.h b/source/blender/blenkernel/BKE_idprop.h index 10c02f54b2e..ef760277f56 100644 --- a/source/blender/blenkernel/BKE_idprop.h +++ b/source/blender/blenkernel/BKE_idprop.h @@ -40,7 +40,11 @@ typedef union IDPropertyTemplate { int i; float f; double d; - char *str; + struct { + char *str; + short len; + char subtype; + } string; struct ID *id; struct { short type; |