Adapted all emscripten import functions

This commit is contained in:
Syrus
2019-01-31 17:44:57 -08:00
parent 5066431422
commit 8725fef474
4 changed files with 190 additions and 778 deletions

View File

@ -160,7 +160,7 @@ pub(crate) fn get_emscripten_data(ctx: &mut Ctx) -> &mut EmscriptenData {
unsafe { &mut *(ctx.data as *mut EmscriptenData) }
}
pub extern "C" fn _getpagesize() -> u32 {
pub extern "C" fn _getpagesize(_ctx: &mut Ctx) -> u32 {
debug!("emscripten::_getpagesize");
16384
}