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