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