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