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