Skip to content
Snippets Groups Projects
  1. Mar 21, 2007
    • Amorilia's avatar
      Changed order of %include's: Ref.h is now %included before niflib.h. It looks... · d05c3224
      Amorilia authored
      Changed order of %include's: Ref.h is now %included before niflib.h. It looks like the problem with illegal return types under SWIG is solved. (Solution suggested by Shon.)
      d05c3224
    • Amorilia's avatar
      The SWIG wrapper is now functional again, although only a very limited · 8cfbc343
      Amorilia authored
      number of objects are supported so far, to reduce the size of the
      wrapper. Details:
      
      * set property eolstyle:native on .cpp and .h files for better windows + linux 
        support
      
      * added small cpp file for quick nif read and write test (for
        debug purposes)
      
      * fixed memory leak due to array of non-fixed sized objects:
        Header.copyright (caused segfaults under GCC)
      
      * disabled pragma warning on NvTriStripObjects.cpp
      
      * fixed undefined behaviour of map[...] = ... map.size() ... in
        niflib.cpp (caused segfaults under GCC)
      
      * cleaned up SConstruct file
        - if DEBUG is false, TUNE is assumed
        - added TEST option
      
      * workaround in pyniflib.h for ReadNifTree (need to find better solution!)
      
      * swig wrapper interface: NiNode, NiAVObject, and NiObjectNET are
        fully supported (nothing else, for now)
      
      * now using unittest for python test script(s)
      8cfbc343
  2. Mar 20, 2007
    • Amorilia's avatar
      * Fixes for windows build under SCons. · b2c70a66
      Amorilia authored
      * Renamed python.h to pyniflib.h to avoid confusion with the python.h file from python installation.
      * Updated python test script.
      * Enabled many things again in the swig wrapper interface, to ease debugging.
      * Added "using namespace std;" in Ref.h (as in the rest of the library)
      b2c70a66
Loading