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