[C++-sig] Can't convert to unsigned int
David Abrahams
dave at boost-consulting.com
Wed Dec 11 19:15:16 CET 2002
Mark Russell <mrussell8081 at pacbell.net> writes:
> David,
>
> Thanks for your reply--the approach I have taken to work around this case is
> to create a python extension object called flag. This object simply stores
> the long value I want to set. On the boost side I use an lvalue_from_ptype
> converter to retrieve the value. This works just fine so I will continue to
> use this approach. --Mark
I guess I don't see how that helps. Don't you eventually need a
Python integer type somewhere?
--
David Abrahams
dave at boost-consulting.com * http://www.boost-consulting.com
Boost support, enhancements, training, and commercial distribution
More information about the Cplusplus-sig
mailing list