| 1941 | } // end anonymous namespace |
| 1942 | |
| 1943 | Result WriteBinaryModule(Stream* stream, |
| 1944 | const Module* module, |
| 1945 | const WriteBinaryOptions& options) { |
| 1946 | BinaryWriter binary_writer(stream, options, module); |
| 1947 | return binary_writer.WriteModule(); |
| 1948 | } |
| 1949 | |
| 1950 | } // namespace wabt |