|
Bradley Smith escribió:
Luo Hei wrote:Well, thats the question. I would like to pass strings to lua scripts via swig generated wrappers. Can i use std::string or should I fall back to C style strings?If you use the following line, you get some support for std::string. %include "std_string.i"The file std_string.i is included in the Lua bindng files of swig (at least with version 1.3.33).
Does the generated code requires SWIG to be installed to compile? -- 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