Swig is unfortunately not an option anymore. This means implementing all
wrapper functionality by hand. * Removed the swig files (*.i and *_wrap.c) * Created initial datablock functionality. Most of it has been copied from the old implementation. * Created some general functions in gen_utils.[ch] * Blender.Get(), Blender.Set() and Blender.Redraw functions should work in a script now. * Started implementation on an Event function call (BPY_do_pyscript) Michel
This commit is contained in:
@@ -30,6 +30,13 @@
|
||||
*/
|
||||
#include <Python.h>
|
||||
|
||||
/*****************************************************************************/
|
||||
/* Global variables */
|
||||
/*****************************************************************************/
|
||||
PyObject *g_blenderdict;
|
||||
|
||||
extern struct PyMethodDef Object_methods[];
|
||||
|
||||
void initBlender (void);
|
||||
PyObject* initObject (void);
|
||||
|
||||
|
Reference in New Issue
Block a user