2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-24 18:12:43 +00:00

struct lookup_tag {}; to_python(x, lookup_tag());

[SVN r10226]
This commit is contained in:
Ralf W. Grosse-Kunstleve
2001-05-25 17:07:07 +00:00
parent de57613c7e
commit 7dcb0b1996
19 changed files with 395 additions and 398 deletions

View File

@@ -95,7 +95,7 @@ BOOST_PYTHON_BEGIN_CONVERSION_NAMESPACE
// Convert a MillerIndex object to a Python tuple.
//
PyObject* to_python(python::semantics, const MillerIndex& hkl)
PyObject* to_python(const MillerIndex& hkl, python::lookup_tag)
{
python::tuple result(3);
for (int i = 0; i < 3; i++)