mirror of
https://github.com/boostorg/python.git
synced 2026-01-23 05:42:30 +00:00
use BOOST_PYTHON_MODULE_INIT, update getting_started2 for better documentation
[SVN r9472]
This commit is contained in:
@@ -12,9 +12,7 @@ namespace python = boost::python;
|
||||
|
||||
// Python requires an exported function called init<module-name> in every
|
||||
// extension module. This is where we build the module contents.
|
||||
extern "C"
|
||||
DL_EXPORT(void)
|
||||
initgetting_started1()
|
||||
BOOST_PYTHON_MODULE_INIT(getting_started1)
|
||||
{
|
||||
try
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user