void LuaTable::addField_String(std::string name, LuaString str) { LuaTableField_String fs; fs.name = name; fs.value = str.get(); strings.push_back(fs); }
void LuaTable::addIndex_String(int index, LuaString str) { LuaTableIndex_String fs; fs.index = index; fs.value = str.get(); i_strings.push_back(fs); }
/** Sets the value of the element as a string value */ void LuaTableElement::set(LuaString str) { type = STRING; string_value = str.get(); }