From: Alberchou <tun...@ho...> - 2012-05-21 11:34:44
|
Hi everybody, I have a problem. At C++ I have this: string ejecutarBusqueda(int cantidad, string vehiculos); When I try to execute that C++ method from Python, it throws this error message: File "C:\Panda3D-1.7.2\samples\PFC\Interfaz.py", line 185, in resolverTablero rutaResultado = Ejecutor.ejecutarBusqueda(cNumVehiculos, cVehiculos) TypeError: in method 'ejecutarBusqueda', argument 2 of type 'string' I don't understand why it throws this error when I'm calling C++ method with (int, string) parameters... Could you tell me what happens? Thank you very much :) -- View this message in context: http://old.nabble.com/TypeError-Python-%3C-%3E-C%2B%2B-tp33882112p33882112.html Sent from the swig-user mailing list archive at Nabble.com. |