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