fix master; add some emscripten calls

This commit is contained in:
Mark McCaskey
2019-04-05 10:04:39 -07:00
parent d9114e40bc
commit 91d7416680
4 changed files with 61 additions and 29 deletions

View File

@ -310,3 +310,20 @@ pub fn _strftime(
);
0
}
/// emscripten: _strftime_l
pub fn _strftime_l(
ctx: &mut Ctx,
s_ptr: c_int,
maxsize: u32,
format_ptr: c_int,
tm_ptr: c_int,
_last: c_int,
) -> i32 {
debug!(
"emscripten::_strftime_l {} {} {} {}",
s_ptr, maxsize, format_ptr, tm_ptr
);
_strftime(ctx, s_ptr, maxsize, format_ptr, tm_ptr)
}