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