MCPcopy Create free account
hub / github.com/danomatika/ofxLua / beginTable

Method beginTable

src/ofxLuaFileWriter.cpp:66–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64}
65
66void ofxLuaFileWriter::beginTable(const std::string& tableName) {
67 if(tables.empty()) {
68 buffer << tableName << " = {}" << std::endl;
69 }
70 else {
71 writeTablePath();
72 buffer << "." << tableName << " = {}" << std::endl;
73 }
74 tables.push_back({LUA_TSTRING, tableName, 0});
75}
76
77void ofxLuaFileWriter::beginTable(const unsigned int tableIndex) {
78 if(tables.empty()) {

Callers 2

writeTableMethod · 0.80
runTestsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected