Modifying constructor for vl-fundecl structures.
(change-vl-fundecl x [:name <name>] [:lifetime <lifetime>] [:rettype <rettype>] [:portdecls <portdecls>] [:imports <imports>] [:vardecls <vardecls>] [:paramdecls <paramdecls>] [:blockitems <blockitems>] [:body <body>] [:atts <atts>] [:loc <loc>])
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) (:lifetime . vl-fundecl->lifetime) (:rettype . vl-fundecl->rettype) (:portdecls . vl-fundecl->portdecls) (:imports . vl-fundecl->imports) (:vardecls . vl-fundecl->vardecls) (:paramdecls . vl-fundecl->paramdecls) (:blockitems . vl-fundecl->blockitems) (:body . vl-fundecl->body) (:atts . vl-fundecl->atts) (:loc . vl-fundecl->loc)) 'change-vl-fundecl 'remake-vl-fundecl))