Added imports to be able to run Imagemagick

This commit is contained in:
Syrus
2019-04-11 23:42:42 -07:00
parent e8d335cfd9
commit 6c158a93bf
5 changed files with 169 additions and 97 deletions

View File

@ -47,6 +47,13 @@ pub fn _getpagesize(_ctx: &mut Ctx) -> u32 {
16384
}
pub fn _times(ctx: &mut Ctx, buffer: u32) -> u32 {
if buffer != 0 {
call_memset(ctx, buffer, 0, 16);
}
0
}
#[allow(clippy::cast_ptr_alignment)]
pub fn ___build_environment(ctx: &mut Ctx, environ: c_int) {
debug!("emscripten::___build_environment {}", environ);