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