Swig examples for C++ and Python on OS X