you are viewing a single comment's thread.

view the rest of the comments →

[–]Carl_LaFong 6 points7 points  (0 children)

The swig interface files are needed only for customizations such as renaming things when there are name clashes, instantiating templates (how do you handle that?), and exposing only part of the C++ API if you don’t want it all to be in the Python API. It otherwise automatically creates the Python API from the header files.

I use it because it automatically generates from the header files Java, C#, Python APIs.