diff options
author | Michel Selten <michel@mselten.demon.nl> | 2003-02-26 22:22:24 +0300 |
---|---|---|
committer | Michel Selten <michel@mselten.demon.nl> | 2003-02-26 22:22:24 +0300 |
commit | 4b825fddc7d916a5a257926d19ea89c3eaa9e0d7 (patch) | |
tree | e768d4ae26f1ebe39aff6940257aa9e46d07b4b1 /source/blender/python/BPY_extern.h | |
parent | 8c5f949cb25d4b7149f40477bbb4aa1c688daf23 (diff) |
Implemented enough functionality to actually execute Python from within
Blender.
* Moved api2_2x/interface.c to ./BPY_interface.c
This will be the general api layer from which all variants of the Blender
api. Currently only the 2.2x variant is initialised.
* Used swig (www.swig.org) to create Python wrappers for a couple of dummy
functions.
* Started implementation of the Blender and Blender.Object modules.
Michel
Diffstat (limited to 'source/blender/python/BPY_extern.h')
-rw-r--r-- | source/blender/python/BPY_extern.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/source/blender/python/BPY_extern.h b/source/blender/python/BPY_extern.h index 02eeaf6963c..b2747ef0ce6 100644 --- a/source/blender/python/BPY_extern.h +++ b/source/blender/python/BPY_extern.h @@ -23,20 +23,21 @@ * The Original Code is Copyright (C) 2001-2002 by NaN Holding BV. * All rights reserved. * - * The Original Code is: all of this file. + * The Original Code is: source/blender/bpyton/include/BPY_extern.h * - * Contributor(s): none yet. + * Contributor(s): Michel Selten * * ***** END GPL/BL DUAL LICENSE BLOCK ***** */ -struct Text; -struct ID; -struct ScriptLink; -struct ListBase; -struct SpaceText; +struct Text; /* defined in DNA_text_types.h */ +struct ID; /* defined in DNA_ID.h */ +struct ScriptLink; /* defined in DNA_scriptlink_types.h */ +struct ListBase; /* defined in DNA_listBase.h */ +struct SpaceText; /* defined in DNA_space_types.h */ +/* struct _object; // forward declaration for PyObject ! - +*/ void BPY_start_python(void); void BPY_end_python(void); |