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
This commit is contained in:
2003-02-26 19:22:24 +00:00
parent 8c5f949cb2
commit 4b825fddc7
11 changed files with 1899 additions and 86 deletions

View File

@@ -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);