Event expansion of defobject.
(defobject-fn name type init call ctx state) → (mv erp event state)
Function:
(defun defobject-fn (name type init call ctx state) (declare (xargs :stobjs (state))) (declare (xargs :guard (and (pseudo-event-formp call) (ctxp ctx)))) (let ((__function__ 'defobject-fn)) (declare (ignorable __function__)) (b* (((mv erp event) (defobject-process-inputs-and-gen-everything name type init call (w state))) ((when erp) (er-soft+ ctx t '(_) "~@0" erp))) (acl2::value event))))