Files
jak-project/test/decompiler/reference/jak1/engine/debug/assert-h_REF.gc
T
Hat Kid fc43870d85 decompiler: obj -> this, set-time! and time-elapsed? macros (#3026)
This renames the method object in `defmethod`s to `this` and adds
detection for the `set-time!` and `time-elapsed?` macros.

Definitely my biggest PR yet...
2023-09-26 15:17:00 +01:00

47 lines
1.6 KiB
Common Lisp
Vendored
Generated

;;-*-Lisp-*-
(in-package goal)
;; definition of type __assert-info-private-struct
(deftype __assert-info-private-struct (structure)
((filename string :offset-assert 0)
(line-num uint16 :offset-assert 4)
(column-num uint16 :offset-assert 6)
)
:method-count-assert 11
:size-assert #x8
:flag-assert #xb00000008
(:methods
(set-pos (_type_ string uint uint) int 9)
(print-pos (_type_) int 10)
)
)
;; definition for method 3 of type __assert-info-private-struct
(defmethod inspect __assert-info-private-struct ((this __assert-info-private-struct))
(format #t "[~8x] ~A~%" this '__assert-info-private-struct)
(format #t "~Tfilename: ~A~%" (-> this filename))
(format #t "~Tline-num: ~D~%" (-> this line-num))
(format #t "~Tcolumn-num: ~D~%" (-> this column-num))
this
)
;; definition for method 9 of type __assert-info-private-struct
(defmethod set-pos __assert-info-private-struct ((this __assert-info-private-struct) (filename string) (line-num uint) (column-num uint))
(set! (-> this filename) filename)
(set! (-> this line-num) line-num)
(set! (-> this column-num) column-num)
0
)
;; definition for method 10 of type __assert-info-private-struct
(defmethod print-pos __assert-info-private-struct ((this __assert-info-private-struct))
(format #t "file ~S.gc, line ~D, col ~D.~%" (-> this filename) (-> this line-num) (-> this column-num))
0
)
;; definition for symbol *__private-assert-info*, type __assert-info-private-struct
(define *__private-assert-info* (new 'static '__assert-info-private-struct))
;; failed to figure out what this is:
0