| 552 | namespace unit_compiler |
| 553 | { |
| 554 | Buffer read_unit(const char *path, CompileOptions &opts) |
| 555 | { |
| 556 | Buffer buf = opts.read(path); |
| 557 | array::push_back(buf, '\0'); |
| 558 | return buf; |
| 559 | } |
| 560 | |
| 561 | // Collects the prefabs data of @a unit_json and its children recursively. |
| 562 | // Prefab of deeper child is collected first. |
no test coverage detected