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