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