Differences between revisions 4 and 5
Revision 4 as of 2008-11-26 04:42:29
Size: 385
Editor: localhost
Comment: converted to 1.6 markup
Revision 5 as of 2009-06-29 20:49:47
Size: 383
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, 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.
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 and 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 and 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)