diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-03-20 11:41:47 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-03-20 11:41:47 +0400 |
commit | 3b9b53d8761155d8919465627914a789f482915b (patch) | |
tree | 885232eb2594b9caf0d48954b7c69c05f6c1b8a8 /source/blender/makesrna/RNA_access.h | |
parent | 65a71a1bbf0fd91738f2a35da4acb756993d39b5 (diff) |
fix [#30589] RNA function descriptions not showing in Python console on autocomplete
show rna function description and arguments now.
Diffstat (limited to 'source/blender/makesrna/RNA_access.h')
-rw-r--r-- | source/blender/makesrna/RNA_access.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/makesrna/RNA_access.h b/source/blender/makesrna/RNA_access.h index 596e348e3f6..f4c3e4ed86d 100644 --- a/source/blender/makesrna/RNA_access.h +++ b/source/blender/makesrna/RNA_access.h @@ -951,6 +951,13 @@ int RNA_property_is_idprop(PropertyRNA *prop); /* python compatible string representation of this property, (must be freed!) */ char *RNA_property_as_string(struct bContext *C, PointerRNA *ptr, PropertyRNA *prop); char *RNA_pointer_as_string(struct bContext *C, PointerRNA *ptr); +char *RNA_pointer_as_string_keywords_ex(struct bContext *C, PointerRNA *ptr, PointerRNA *ptr_default, + const short skip_optional_value, const short all_args, + PropertyRNA *iterprop); +char *RNA_pointer_as_string_keywords(struct bContext *C, PointerRNA *ptr, PointerRNA *ptr_default, + const short skip_optional_value, const short all_args); +char *RNA_function_as_string_keywords(struct bContext *C, FunctionRNA *func, PointerRNA *ptr_default, + const short as_function, const short all_args); /* Function */ |