Files
jak-project/test/goalc/source_templates/with_game/test-static-boxed-array.gc
T
water111 3355df809a Add boxed array type (#163)
* add array

* support static arrays
2020-12-19 21:05:18 -05:00

8 lines
246 B
Common Lisp

(let ((arr (new 'static 'boxed-array object 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
)