-
- Downloads
* modularized swig interface to reduce wrapper size (only main niflib
header and NiNode for now) * created a common swig interface "common.i" to be used by all modules * smart pointers now use the __call__() method, again this reduces the wrapper size * removed __str__() from the niflib API as it does not belong there, instead renamed asString() to __str__() in the common.i interface * version constants now also belong to the Niflib namespace * SWIGFLAGS are now defined through scons environment, so we only need to set them once * extra settings "-fcompact" and "-fvirtual" to SWIGFLAGS to reduce wrapper size * enabled niflib as a shared library under non-win32 platforms (still need to find a solution for win32) under scons * removed "pyniflib.h" and instead added CreateNiNode wrapper to ninode.i * renamed "pyniflib.i" to "pyniflib.i_old" in case I forgot to port something to the new modularized system; to be removed in future
Showing
- SConstruct 13 additions, 8 deletionsSConstruct
- include/nif_versions.h 4 additions, 0 deletionsinclude/nif_versions.h
- include/obj/NiObject.h 0 additions, 5 deletionsinclude/obj/NiObject.h
- swig/SConscript 3 additions, 2 deletionsswig/SConscript
- swig/common.i 370 additions, 0 deletionsswig/common.i
- swig/niflib.i 133 additions, 0 deletionsswig/niflib.i
- swig/ninode.i 58 additions, 0 deletionsswig/ninode.i
- swig/pyniflib.h 0 additions, 16 deletionsswig/pyniflib.h
- swig/pyniflib.i_old 0 additions, 0 deletionsswig/pyniflib.i_old
- test/SConscript 3 additions, 1 deletiontest/SConscript
- test/niflib_test.py 5 additions, 4 deletionstest/niflib_test.py
Loading
Please register or sign in to comment