| 64 | } |
| 65 | |
| 66 | void 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 | |
| 77 | void ofxLuaFileWriter::beginTable(const unsigned int tableIndex) { |
| 78 | if(tables.empty()) { |
no outgoing calls
no test coverage detected