mirror of
https://github.com/boostorg/python.git
synced 2026-01-21 05:02:17 +00:00
Now using BOOST_PYTHON_MODULE_INIT.
[SVN r9617]
This commit is contained in:
@@ -3,9 +3,7 @@ namespace python = boost::python;
|
||||
|
||||
#include "noncopyable.h"
|
||||
|
||||
extern "C"
|
||||
DL_EXPORT(void)
|
||||
initnoncopyable_export()
|
||||
BOOST_PYTHON_MODULE_INIT(noncopyable_export)
|
||||
{
|
||||
try
|
||||
{
|
||||
|
||||
@@ -16,9 +16,7 @@ namespace { // Avoid cluttering the global namespace.
|
||||
}
|
||||
}
|
||||
|
||||
extern "C"
|
||||
DL_EXPORT(void)
|
||||
initnoncopyable_import()
|
||||
BOOST_PYTHON_MODULE_INIT(noncopyable_import)
|
||||
{
|
||||
try
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user