|
Luo Hei wrote:
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?
No.