Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWillian Padovani Germano <wpgermano@gmail.com>2003-05-08 07:06:46 +0400
committerWillian Padovani Germano <wpgermano@gmail.com>2003-05-08 07:06:46 +0400
commit1e891f844aa02a59269d74d0dc0283e78a7ebda5 (patch)
treee1fa359b455a5146aff95ffc5423a2b370dd8fdf /source/blender/python/api2_2x/gen_utils.h
parentf20e95b73a3f06d7b59c67e33c2061cbc8a8594f (diff)
* Added submodule Window, including FileSelector and ImageSelector:
Most of the code comes from bpython/intern/opy_window.c, but two new functions were added, to access the file and image selector windows in Blender. * Added submodules Draw (gui) and BGL (OpenGL wrapper): The code comes from bpython/intern/opy_draw.c, with minor changes to integrate it in the new implementation. * Made changes to Camera, Lamp and Image submodules: The implementation was improved. These files should be good starting points for interested new coders to look at, now. * Renamed interface.[ch] to EXPP_interface.[ch] to avoid conflict: There is another interface.h file in source/blender/include.
Diffstat (limited to 'source/blender/python/api2_2x/gen_utils.h')
-rw-r--r--source/blender/python/api2_2x/gen_utils.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/source/blender/python/api2_2x/gen_utils.h b/source/blender/python/api2_2x/gen_utils.h
index c7ce089c07c..803cd64bca1 100644
--- a/source/blender/python/api2_2x/gen_utils.h
+++ b/source/blender/python/api2_2x/gen_utils.h
@@ -37,9 +37,11 @@ int StringEqual (char * string1, char * string2);
char * GetIdName (ID *id);
PyObject * PythonReturnErrorObject (PyObject * type, char * error_msg);
PyObject * PythonIncRef (PyObject *object);
-char * event_to_name(short event);
-float EXPP_ClampFloat(float value, float min, float max);
-int EXPP_intError(PyObject *type, char *error_msg);
+PyObject * EXPP_incr_ret (PyObject *object);
+char * event_to_name (short event);
+float EXPP_ClampFloat (float value, float min, float max);
+int EXPP_ReturnIntError (PyObject *type, char *error_msg);
+PyObject *EXPP_ReturnPyObjError (PyObject * type, char * error_msg);
/* The following functions may need to be moved to the respective BKE or */
/* DNA modules. */