support for multiple return values from rna functions & support for returning arrays...
authorCampbell Barton <ideasman42@gmail.com>
Sat, 2 Jan 2010 10:42:38 +0000 (10:42 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sat, 2 Jan 2010 10:42:38 +0000 (10:42 +0000)
commite83940d994d9c7fae8a97ae36a735af1403dbe00
tree7a3b461dc350659c1a78da0ceea897b52c90e81c
parent382e52e5c7465ff8e76ed20bda98099b4506aa0a
support for multiple return values from rna functions & support for returning arrays, (no functions are using this yet).
patch from Elia Sarti, (vekoon) with some modifications mainly for the python api.

- multiple values are returned as a typle in the order that are defined.
- added support for registered types returning multiple arguments (untested).
- renamed func->ret --> func->c_ret, since this only defines what the C function returns.
source/blender/makesrna/RNA_access.h
source/blender/makesrna/RNA_define.h
source/blender/makesrna/intern/makesrna.c
source/blender/makesrna/intern/rna_access.c
source/blender/makesrna/intern/rna_define.c
source/blender/makesrna/intern/rna_internal_types.h
source/blender/python/intern/bpy_rna.c