Files
jak-project/test/goalc/source_templates/with_game/test-static-boxed-array.gc
T
water111 5b24e43143 Change syntax for boxed array to support different length and allocated-length (#568)
* change syntax for boxed array

* fix test and make the flava thing kind of work
2021-06-07 20:22:06 -04:00

8 lines
260 B
Common Lisp

(let ((arr (new 'static 'boxed-array :type object :length 12 32 'asdf "test" '( a b ))))
(dotimes (i 5)
(format #t "~A " (-> arr i))
)
(format #t "~A " (-> arr content-type))
(format #t "~D ~D~%" (-> arr length) (-> arr allocated-length))
0
)