2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-22 17:32:55 +00:00

merging current boost/python and libs/python from trunk into release branch

[SVN r72464]
This commit is contained in:
Ralf W. Grosse-Kunstleve
2011-06-07 04:15:33 +00:00
parent faf3cd0b78
commit cfa2baf8c9
4 changed files with 6 additions and 7 deletions

View File

@@ -44,11 +44,8 @@ BOOST_PYTHON_DECL rvalue_from_python_stage1_data rvalue_from_python_stage1(
// First check to see if it's embedded in an extension class
// instance, as a special case.
data.convertible = objects::find_instance_impl(source, converters.target_type, converters.is_shared_ptr);
if (data.convertible)
{
data.construct = 0;
}
else
if (!data.convertible)
{
for (rvalue_from_python_chain const* chain = converters.rvalue_chain;
chain != 0;