trace_nil.odin 443 B

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