Basic constructor macro for jtype-array structures.
(make-jtype-array [:comp <comp>])
This is the usual way to construct jtype-array structures. It simply conses together a structure with the specified fields.
This macro generates a new jtype-array structure from scratch. See also change-jtype-array, which can "change" an existing structure, instead.
This is an ordinary
Macro:
(defmacro make-jtype-array (&rest args) (std::make-aggregate 'jtype-array args '((:comp)) 'make-jtype-array nil))
Function:
(defun jtype-array (comp) (declare (xargs :guard (jtypep comp))) (declare (xargs :guard t)) (let ((__function__ 'jtype-array)) (declare (ignorable __function__)) (b* ((comp (mbe :logic (jtype-fix comp) :exec comp))) (cons :array (list comp)))))