With boost python, how to pass a tuple of lists from python to C++ ? Code
attached : line 12 crashes ?! Googling but no fix for now.
Expected results should look like this:
>> make; python dummyTest.py
g++ -I/usr/include/python2.7 -o dummy.so -shared -fPIC dummy.cpp
-lboost_python -lboost_numpy
doStuffs
nbInt 3
ptrInt ......
ptrInt[0] = 1
ptrInt[1] = 2
ptrInt[2] = 3
nbfloat 3
ptrFloat ....
ptrFloat[0] = 1.2
ptrFloat[1] = 2.3
ptrFloat[2] = 3.4
--
Bonne journée,
Franck HOUSSEN