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