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