How do I wrap a C++ class with Cython?
Even Cython is generally for use with C, it can generate C++ code, too. When compiling, you add the –cplus flag. Now, creating a wrapper for the class is simple and not much different from wrapping a structure. It mainly differs from declaring the extern, but that’s not much difference at all. Suppose you have … Read more