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