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