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