diff options
Diffstat (limited to 'src/support/file.h')
-rw-r--r-- | src/support/file.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/support/file.h b/src/support/file.h index 0f0ec15f3..b0df8fd06 100644 --- a/src/support/file.h +++ b/src/support/file.h @@ -66,6 +66,13 @@ class Output { std::ofstream outfile; std::ostream out; }; -} + +// Copies a file to another file +void copy_file(std::string input, std::string output); + +// Retusn the size of a file +size_t file_size(std::string filename); + +} // namespace wasm #endif // wasm_support_file_h |