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