diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-12-18 18:11:19 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-12-18 18:11:19 +0400 |
commit | 957604f8954fe369e1841bb922a102d632f0952c (patch) | |
tree | 1a0ff3bb938d5b0218cd545c1b29c356ef1bcb8f /source/blender/windowmanager/WM_api.h | |
parent | 2a657345c7d68f98b3e8e27fbcd4f9995de077e4 (diff) |
functions to make a string representation of a property & assignment.
Diffstat (limited to 'source/blender/windowmanager/WM_api.h')
-rw-r--r-- | source/blender/windowmanager/WM_api.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/windowmanager/WM_api.h b/source/blender/windowmanager/WM_api.h index a4579ea31bc..d0fcad00e14 100644 --- a/source/blender/windowmanager/WM_api.h +++ b/source/blender/windowmanager/WM_api.h @@ -56,6 +56,7 @@ struct wmOperatorType; struct wmOperator; struct rcti; struct PointerRNA; +struct PropertyRNA; struct EnumPropertyItem; struct MenuType; struct wmDropBox; @@ -257,6 +258,8 @@ int WM_operator_last_properties_store(struct wmOperator *op); /* operator as a python command (resultuing string must be freed) */ char *WM_operator_pystring(struct bContext *C, struct wmOperatorType *ot, struct PointerRNA *opptr, int all_args); +char *WM_prop_pystring(struct PointerRNA *ptr, struct PropertyRNA *prop, int index); +char *WM_prop_pystring_assign(struct bContext *C, struct PointerRNA *ptr, struct PropertyRNA *prop, int index); void WM_operator_bl_idname(char *to, const char *from); void WM_operator_py_idname(char *to, const char *from); |