mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
Add default debug/trace to do nothing
This commit is contained in:
@@ -0,0 +1,18 @@
|
|||||||
|
//+build !windows
|
||||||
|
package debug_trace
|
||||||
|
|
||||||
|
_Context :: struct {
|
||||||
|
}
|
||||||
|
|
||||||
|
_init :: proc(ctx: ^Context) -> (ok: bool) {
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
_destroy :: proc(ctx: ^Context) -> bool {
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
_frames :: proc(ctx: ^Context, skip: uint, allocator: runtime.Allocator) -> []Frame {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
_resolve :: proc(ctx: ^Context, frame: Frame, allocator: runtime.Allocator) -> (result: runtime.Source_Code_Location) {
|
||||||
|
return
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user