trace_nil.odin 425 B

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