tk, does Niflib get updated with changes to the XML files? I know that it's not being actively supported, but I'm also not really clear on the whole Python generation thing works: does that update Niflib for new NIF versions? I hope to port NifSE to Skyrim at some point.
The file-structure is defined in XML-files. A script converts that into C++ class-bodies and adds some pre-defined getter/setter class-functions. If it finds an existing class-body it preserves marked custom functions of that. So you can manipulate niflib and still regenerate from the newest XML. Nifskope has a dynamic XML-to-API bridge, so you can upgrade Nifskope mostly by just throwing the XML in.
Niflib has nothing to with python or PyFFI besides the XML-file, which is a lot and not at the same time, sort of.
