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