| 51 | } |
| 52 | |
| 53 | void ofxLuaFileWriter::endCommentBlock() { |
| 54 | if(!commentBlock) { |
| 55 | ofLogWarning("ofxLua") << "Comment block not begun"; |
| 56 | return; |
| 57 | } |
| 58 | commentBlock = false; |
| 59 | buffer << "--]]" << std::endl; |
| 60 | } |
| 61 | |
| 62 | void ofxLuaFileWriter::writeLine(const std::string& line) { |
| 63 | buffer << line << std::endl; |