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