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