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