Differences between revisions 2 and 3
Revision 2 as of 2007-08-21 21:36:11
Size: 367
Editor: gtang
Comment:
Revision 3 as of 2007-08-21 21:36:58
Size: 385
Editor: gtang
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
EMAN2 use boost.python to wrap C++ class/function to Python. All the wrapping code can be found in libpyEM directory. Initially, all the wrapping is done by Pyste. Because the lack of supporting, we dropped the pyste ans add the new wrapping code by us own. There are plenty of sample code in libpyEM to follow. EMAN2 use boost.python to wrap C++ class/function to Python. All the wrapping code can be found in libpyEM directory. Initially, the wrapping is done by Pyste automatically. Because the lack of Pyste supporting, we dropped the pyste ans add the new wrapping code by us own. There are plenty of sample code in libpyEM to follow.

How to Wrap my C++ class/function to Python?

EMAN2 use boost.python to wrap C++ class/function to Python. All the wrapping code can be found in libpyEM directory. Initially, the wrapping is done by Pyste automatically. Because the lack of Pyste supporting, we dropped the pyste ans add the new wrapping code by us own. There are plenty of sample code in libpyEM to follow.

eman2BoostPyhton (last edited 2009-06-29 20:49:47 by gtang)