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