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