[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: problem passing std::strings, lua and swig
- From: Luo Hei <luo_hei@...>
- Date: Fri, 11 Apr 2008 08:11:50 -0400
Im changing my code to use swig, but I have found a problem. A function
that takes one std::string as parameter produces an error when called
from Lua: says that "string" was expected but got "string". Previously I
was using Ogre::String but that produced an error about missing
arguments, said that the function required 2 parameter, not 1. Also, if
I use std::string in the header and string in the .cpp I got a similar
error (expected std.. got string)
--
What one fool can do, another can.
Silvanus P. Thompson
______________________________________________
LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com