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