mirror of
https://github.com/open-goal/jak-project
synced 2026-07-01 20:20:35 -04:00
425cc6794c
* fix method name and use-after-free during compile error * doc fix
19 lines
366 B
Common Lisp
19 lines
366 B
Common Lisp
(define format _format)
|
|
|
|
(let* ((print-method (method-of-type bfloat print))
|
|
(my-float (new 'global 'bfloat))
|
|
)
|
|
(set! (-> my-float data) 1.23456)
|
|
(print-method my-float)
|
|
(format #t "~%")
|
|
)
|
|
|
|
#|
|
|
(let ((x 0))
|
|
(while (< x 9)
|
|
(format #t "method ~d of ~A is ~A~%" x bfloat (-> bfloat method-table x))
|
|
(+1! x)
|
|
)
|
|
)
|
|
|#
|
|
0 |