There is a library for Python that enables the calling ability (can call functions in C++ format without extern "C". Please, could you remind me the name of the libra开发者_如何学Gory? I forgot it's name and can't find it.
It's not Boost.Python.
Thank you very much. Your answer will be rewarded.
Perhaps you are thinking of SWIG.
Are you thinking of Boost.Python?
Also, ctypes lets you access dlls and wrap c code ctypes doc
SWIG, Boost.Python, SIP, Shiboken, PyBindgen, ...
SWIG and Boost.Python are most popular, i.e. they have the largest user base and the most active development teams. Which of these two to use is largely a matter of taste. So if you don't want to use Boost.Python, then SWIG is the obvious choice.
精彩评论