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