mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
builtin.wasm_bare: fix malloc invocation (#13740)
This commit is contained in:
@@ -5,7 +5,7 @@ module builtin
|
|||||||
[unsafe]
|
[unsafe]
|
||||||
pub fn __malloc(size usize) voidptr {
|
pub fn __malloc(size usize) voidptr {
|
||||||
unsafe {
|
unsafe {
|
||||||
return malloc(int(size))
|
return C.malloc(int(size))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user