mirror of
https://github.com/boostorg/python.git
synced 2026-01-26 18:52:26 +00:00
Merge Trunk changes to RC_1_29_0
[SVN r15732]
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
// copyright notice appears in all copies. This software is provided
|
||||
// "as is" without express or implied warranty, and with no claim as
|
||||
// to its suitability for any purpose.
|
||||
#include <boost/python/module_init.hpp>
|
||||
#include <boost/python/module.hpp>
|
||||
#include <boost/python/def.hpp>
|
||||
#include <boost/python/return_value_policy.hpp>
|
||||
#include <boost/python/manage_new_object.hpp>
|
||||
@@ -87,7 +87,7 @@ A* as_A(Base* b)
|
||||
return dynamic_cast<A*>(b);
|
||||
}
|
||||
|
||||
BOOST_PYTHON_MODULE_INIT(test_pointer_adoption_ext)
|
||||
BOOST_PYTHON_MODULE(test_pointer_adoption_ext)
|
||||
{
|
||||
def("num_a_instances", num_a_instances);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user