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