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