blob: fda8278cb1f09625e688c1c82490a663df2a30de (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
//+build js, wasi, freestanding, essence, orca
//+private
package runtime
_heap_alloc :: proc(size: int, zero_memory := true) -> rawptr {
unimplemented("base:runtime 'heap_alloc' procedure is not supported on this platform")
}
_heap_resize :: proc(ptr: rawptr, new_size: int) -> rawptr {
unimplemented("base:runtime 'heap_resize' procedure is not supported on this platform")
}
_heap_free :: proc(ptr: rawptr) {
unimplemented("base:runtime 'heap_free' procedure is not supported on this platform")
}
|