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