Boost Users :
From: Benjamin Schmeling (Benjamin_Schmeling_at_[hidden])
Date: 2005-01-24 10:50:39
I am working on exposing a bigint class to python. Now I've got the
problem that methods which take an bigint as
an parameter do not accept Python longs.
Traceback (most recent call last):
File "test.py", line 132, in ?
Boost.Python.ArgumentError: Python argument types in
did not match C++ signature:
I don't know how to achieve implicit conversion at this point, turning an
long automatically into an bigint. The other way round, turning an bigint
into long can be realized by defining __long__.
Can someone help me please?
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net