c_str() in lua
Posted: Tue Dec 12, 2006 16:05
Hey all, I want to make a char array from a CEGUI::String. This should be possible with the c_str() function of CEGUI::String. But when I try to use it in my Lua script I get :
this would suggest the function doesn't exist or isn't in the bindings. can anyone say if this function is included in the bindings, and if not, how I can accomplish what I described above.
Code: Select all
[string "../datafiles/lua_scripts/consoleGui.lua"]:13: attempt to call method 'c_str' (a nil value)
this would suggest the function doesn't exist or isn't in the bindings. can anyone say if this function is included in the bindings, and if not, how I can accomplish what I described above.