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