Packages

builtin
cbindgen
core
core.alloc
core.alloc.arena
core.alloc.atomic
core.alloc.debug
core.alloc.fixed
core.alloc.gc
core.alloc.heap
core.alloc.log
core.alloc.memwatch
core.alloc.pool
core.alloc.ring
core.arg_parse
core.array
core.avl_tree
core.bucket_array
core.conv
core.crypto
core.crypto.keys
core.doc
core.encoding
core.encoding.base64
core.encoding.csv
core.encoding.hex
core.encoding.json
core.encoding.kdl
core.encoding.osad
core.encoding.utf8
core.encoding.xml
core.hash
core.hash.md5
core.hash.sha1
core.hash.sha256
core.heap
core.intrinsics
core.intrinsics.atomics
core.intrinsics.onyx
core.intrinsics.types
core.intrinsics.wasm
core.io
core.io.binary
core.iter
core.js
core.list
core.map
core.math
core.memory
core.misc
core.net
core.os
core.random
core.set
core.slice
core.string
core.sync
core.test
core.thread
core.time
main
runtime
runtime.info
runtime.platform
runtime.vars
simd

package core.alloc.debug

Debug_Header
Debug_Header :: struct {
    next: &Debug_Header
    prev: &Debug_Header
    frames: [6] Stack_Frame
    frame_count: u32
    size: u32
    magic_number: u32
}
Debug_State
Debug_State :: struct {
    backing: Allocator
    first: &Debug_Header
}
Methods
Debug_State.destroy
Debug_State.destroy :: (s: &Debug_State) -> void
Debug_Allocation_State
Debug_Allocation_State :: enum {
    Bad :: 0
    Allocated :: 2
    Freed :: 4
}
make
make :: (backing_allocator: Allocator) -> Debug_State