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