From: <ab...@fr...> - 2007-12-30 12:31:28
|
Hi! I am using swig to create a python api for a C++ library. Some of the functions in the library have 'const uint &' parameters, and I am having problems getting these to work. I placed a minimal testcase which exhibits the problem in a tarball at http://angel.elte.hu/~abeld/proba.tar.gz the run.sh script contains the command-lines I use. Running that file will create the wrapper, and try to run the test_proba.py script to test it. I am running this on a debian etch system which has swig 1.3.33 installed (from the debian sid package). Judging by the http://article.gmane.org/gmane.comp.programming.swig/4523 post, this should work. However, I get a TypeError: in method 'foo', argument 1 of type 'uint const &' What am I doing wrong? Daniel Abel ab...@fr... |