| 58 | } |
| 59 | |
| 60 | string dlua_chunk::describe(const string &name) const |
| 61 | { |
| 62 | if (chunk.empty()) |
| 63 | return ""; |
| 64 | return make_stringf("function %s()\n%s\nend\n", |
| 65 | name.c_str(), chunk.c_str()); |
| 66 | } |
| 67 | |
| 68 | void dlua_chunk::write(writer& outf) const |
| 69 | { |
no test coverage detected