trace_nil.odin 428 B

1234567891011121314151617181920
  1. //+build !windows !linux !darwin
  2. package debug_trace
  3. import "base:runtime"
  4. _Context :: struct {
  5. }
  6. _init :: proc(ctx: ^Context) -> (ok: bool) {
  7. return true
  8. }
  9. _destroy :: proc(ctx: ^Context) -> bool {
  10. return true
  11. }
  12. _frames :: proc(ctx: ^Context, skip: uint, frames_buffer: []Frame) -> []Frame {
  13. return nil
  14. }
  15. _resolve :: proc(ctx: ^Context, frame: Frame, allocator: runtime.Allocator) -> (result: Frame_Location) {
  16. return
  17. }