Merge remote-tracking branch 'origin/master' into feature/dynasm-backend

This commit is contained in:
losfair
2019-03-17 21:14:01 +08:00
19 changed files with 85 additions and 58 deletions

View File

@ -90,6 +90,7 @@ pub unsafe fn allocate_cstr_on_stack<'a>(ctx: &'a mut Ctx, s: &str) -> (u32, &'a
(offset, slice)
}
#[cfg(not(target_os = "windows"))]
pub unsafe fn copy_terminated_array_of_cstrs(_ctx: &mut Ctx, cstrs: *mut *mut c_char) -> u32 {
let _total_num = {
let mut ptr = cstrs;