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