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