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