Hi,
Let's say I have string literal as static C++ class member:
string Foo::abc = "ABC";
I'm exporting the class Foo. I'd like to export Foo::abc as well and be able to
access it on Python side using similar interface: Foo.abc.
Can I do this using Boost.Python?
Gennadiy
__
Gennadiy Rozental wrote:
Hi,
Let's say I have string literal as static C++ class member:
string Foo::abc = "ABC";
I'm exporting the class Foo. I'd like to export Foo::abc as well and be able to
access it on Python side using similar interface: Foo.abc.
Can I do this using Boost.Python?
Sur
Hi,
Thanks for the reply.
But still something, I would like to understand:
If I want to convert numpy.float64 -> double, it works without problems.
If I want to convert numpy.int32 -> int, I seem to need to register a
new converte ...
Why is this?
Thanks!
Nathan
On Wed, Dec 09, 2009 at 04:29:
[cross-posted to the Crypto++ users mailing list and the Python C++-sig.]
David wrote on the Crypto++ users mailing list:
> We experience errors when trying to use cryptopp as shared lib from more than
> one other shared libs.
I struggled with this for a long time for the pycryptopp project and
We noticed things went fine as long as the sizes of the types at the Python and
C++ side matched.
On a 32bit system the behaviour differs from a 64bit machine. Because it fails
for you, I guess you are working on a 64bit machine. It will be fine on a 32bit
system.
You'll also notice it always fa