Skip to content
Snippets Groups Projects
Commit 8eef368d authored by Amorilia's avatar Amorilia
Browse files

* 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
parent 485020a4
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment