[C++-sig] current spelling of from_python<>?
Ralf W. Grosse-Kunstleve
rwgk at yahoo.com
Tue Jun 11 19:42:33 CEST 2002
Until about a week ago the code below worked as a placeholder
for a user-level from_python<> converter:
template <typename U>
struct extractor
{
static
U
get(PyObject* obj)
{
Py_INCREF(obj);
return converter::callback_from_python<U>()(obj);
}
};
converter::callback_from_python<> is defined in the obsolete file
converter/callback.hpp. What should I be using instead?
Thanks,
Ralf
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
More information about the Cplusplus-sig
mailing list