Modifying constructor for vl-package structures.
(change-vl-package x [:name <name>] [:lifetime <lifetime>] [:imports <imports>] [:fundecls <fundecls>] [:taskdecls <taskdecls>] [:typedefs <typedefs>] [:paramdecls <paramdecls>] [:vardecls <vardecls>] [:warnings <warnings>] [:minloc <minloc>] [:maxloc <maxloc>] [:atts <atts>] [:comments <comments>])
This is an often useful alternative to make-vl-package.
We construct a new vl-package structure that is a copy of
This is an ordinary
Macro:
(defmacro change-vl-package (x &rest args) (std::change-aggregate 'vl-package x args '((:name . vl-package->name) (:lifetime . vl-package->lifetime) (:imports . vl-package->imports) (:fundecls . vl-package->fundecls) (:taskdecls . vl-package->taskdecls) (:typedefs . vl-package->typedefs) (:paramdecls . vl-package->paramdecls) (:vardecls . vl-package->vardecls) (:warnings . vl-package->warnings) (:minloc . vl-package->minloc) (:maxloc . vl-package->maxloc) (:atts . vl-package->atts) (:comments . vl-package->comments)) 'change-vl-package 'remake-vl-package))