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