aboutsummaryrefslogtreecommitdiff
path: root/base/runtime/heap_allocator_other.odin
blob: 74536ada9872c33ca0cd07dfc8720284e452f030 (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")
}