FAQ
/// Foo.cpp
class CFoo
{

};


# Test.py
#i use foo.cpp build the 'foo' module
import foo

#param : CFoo
def bar(o):
#call the object o's member functions


at last,i call the bar() function in my main.cpp.
///main.cpp
CFoo foo;
/// how to pass foo to the function 'bar'


now, i use the binder 'boost::python'.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppython-list @
categoriespython
postedJan 13, '06 at 7:36p
activeJan 13, '06 at 7:36p
posts1
users1
websitepython.org

1 user in discussion

Oscar: 1 post

People

Translate

site design / logo © 2023 Grokbase