mirror of
https://github.com/odin-lang/Odin.git
synced 2025-12-29 17:34:34 +00:00
15 lines
499 B
Odin
15 lines
499 B
Odin
//+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")
|
|
} |