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