Modifying constructor for vl-fundecl structures.
(change-vl-fundecl x [:name <name>] [:rettype <rettype>] [:body <body>] [:loc <loc>] [:portdecls <portdecls>] [:function-map <function-map>] [:lifetime <lifetime>] [:vardecls <vardecls>] [:paramdecls <paramdecls>] [:typedefs <typedefs>] [:imports <imports>] [:atts <atts>] [:loaditems <loaditems>])
This is an often useful alternative to make-vl-fundecl.
We construct a new vl-fundecl structure that is a copy of
This is an ordinary
Macro:
(defmacro change-vl-fundecl (x &rest args) (std::change-aggregate 'vl-fundecl x args '((:name . vl-fundecl->name) (:rettype . vl-fundecl->rettype) (:body . vl-fundecl->body) (:loc . vl-fundecl->loc) (:portdecls . vl-fundecl->portdecls) (:function-map . vl-fundecl->function-map) (:lifetime . vl-fundecl->lifetime) (:vardecls . vl-fundecl->vardecls) (:paramdecls . vl-fundecl->paramdecls) (:typedefs . vl-fundecl->typedefs) (:imports . vl-fundecl->imports) (:atts . vl-fundecl->atts) (:loaditems . vl-fundecl->loaditems)) 'change-vl-fundecl 'remake-vl-fundecl))