Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TNG/boost-python-examples
/ BOOST_PYTHON_MODULE
Function
BOOST_PYTHON_MODULE
10-Embedding/mymodule.cpp:7–12 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
5
using namespace boost::python;
6
7
BOOST_PYTHON_MODULE(mymodule)
8
{
9
class_<Base>(
"Base"
)
10
.def(
"__str__"
, &Base::name)
11
;
12
}
13
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected