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