%import "RMF.i" %{ #include "RMF.h" %} /* Tell swig how to treat various types when moving them to and from python. Among other things, they tell swig how to convert collections of C++ objects (eg ExampleRestraints) into python lists and back. IMP_SWIG_OBJECT, IMP_SWIG_VALUE and IMP_SWIG_DECORATOR lines need to appear before any %include lines as well as any inline C++ code (or at least any such code which uses the types in question). */ namespace IMP { namespace pepdock { /* Python doesn't natively support C++ templates, so you have to manually choose which template parameters you want to intantiate a template with. */ } }