c++ Programming Glossary: myif
How can I implement a C++ class in Python, to be called by C++? http://stackoverflow.com/questions/9040669/how-can-i-implement-a-c-class-in-python-to-be-called-by-c I have an existing C interface defined something like myif.h class myif public virtual float myfunc float a What I want.. existing C interface defined something like myif.h class myif public virtual float myfunc float a What I want to be able to.. like mycl.py ... some magic python stuff ... class MyCl myif def myfunc a return a 2 Then back in my C code I want to be..
|