Basic constructor macro for dirdeclor-function-names structures.
(make-dirdeclor-function-names [:decl <decl>] [: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 '((:decl) (:names)) 'make-dirdeclor-function-names nil))
Function:
(defun dirdeclor-function-names (decl names) (declare (xargs :guard (and (dirdeclorp decl) (ident-listp names)))) (declare (xargs :guard t)) (let ((__function__ 'dirdeclor-function-names)) (declare (ignorable __function__)) (b* ((decl (mbe :logic (dirdeclor-fix decl) :exec decl)) (names (mbe :logic (ident-list-fix names) :exec names))) (cons :function-names (list decl names)))))