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