2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-23 05:42:30 +00:00

instance_holder moved to boost::python

[SVN r13994]
This commit is contained in:
Dave Abrahams
2002-05-21 16:16:25 +00:00
parent 91e2e6f207
commit cf46535b66

View File

@@ -31,7 +31,7 @@ namespace detail
{
struct make_owning_holder
{
typedef objects::instance_holder* result_type;
typedef instance_holder* result_type;
template <class T>
static result_type execute(T* p)
{
@@ -49,7 +49,7 @@ namespace detail
struct make_reference_holder
{
typedef objects::instance_holder* result_type;
typedef instance_holder* result_type;
template <class T>
static result_type execute(T* p)
{
@@ -110,7 +110,7 @@ inline PyObject* to_python_indirect<T,MakeHolder>::operator()(T x) const
// Build a value_holder to contain the object using the copy
// constructor
objects::instance_holder* p =
instance_holder* p =
detail::unwind_type<MakeHolder>(x);
// Install it in the instance