diff options
author | Michel Selten <michel@mselten.demon.nl> | 2003-03-18 23:21:26 +0300 |
---|---|---|
committer | Michel Selten <michel@mselten.demon.nl> | 2003-03-18 23:21:26 +0300 |
commit | 3a0725d4aab2f83b70280f19b4de9260b85091c6 (patch) | |
tree | 03f61f114b65b15ef734cb985ae02b22543de3a2 /source/blender/python/api2_2x/gen_utils.h | |
parent | 465229e4d6243e0109117bef072ec8722c845a72 (diff) |
* Moved the code to retrieve an object by name to a seperate function in
gen_utils.c (GetObjectByName).
* Blender.link, Blender.bylink and Blender.event should work. Somehow the
only event coming through now is only REDRAW.
* Added include path to /intern/guardedalloc
Michel
Diffstat (limited to 'source/blender/python/api2_2x/gen_utils.h')
-rw-r--r-- | source/blender/python/api2_2x/gen_utils.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/python/api2_2x/gen_utils.h b/source/blender/python/api2_2x/gen_utils.h index ab41cf9d617..038c7f814ad 100644 --- a/source/blender/python/api2_2x/gen_utils.h +++ b/source/blender/python/api2_2x/gen_utils.h @@ -39,3 +39,8 @@ PyObject * PythonReturnErrorObject (PyObject * type, char * error_msg); PyObject * PythonIncRef (PyObject *object); char * event_to_name(short event); +/* The following functions may need to be moved to the respective BKE or */ +/* DNA modules. */ + +struct Object * GetObjectByName (char * name); + |