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