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