aboutsummaryrefslogtreecommitdiff
path: root/base/runtime/heap_allocator_other.odin
blob: 45049c7e94e861a50607314b4488564c1ebe887a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//+build js, wasi, freestanding, essence
//+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")
}