Files
jak-project/test/goalc/source_templates/with_game/test-static-array-field.gc
T
water111 cadd014add [Compiler] Support array fields in static objects (#284)
* first part of static inline array fields

* level h
2021-02-25 22:49:46 -05:00

18 lines
426 B
Common Lisp

(deftype test-basic-for-static-array-field (basic)
((value uint32)
(name string)
(arr basic 12)
(lst pair)
)
)
(let ((test (new 'static 'test-basic-for-static-array-field
:value 12
:arr (new 'static 'array basic 12
"asdf"
"ghjkl"
)
)))
(format #t "~A~%" (-> test arr 1))
)