| 89 | } |
| 90 | |
| 91 | void maa_rt_write_file(std::string path, maajs::ArrayBufferType data) |
| 92 | { |
| 93 | std::ofstream fout(path, std::ios_base::out | std::ios_base::binary); |
| 94 | fout.write(static_cast<char*>(data.Data()), data.ByteLength()); |
| 95 | } |
| 96 | |
| 97 | void maa_rt_exit(maajs::EnvType env, std::string result) |
| 98 | { |
nothing calls this directly
no test coverage detected