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