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