forked from osmocom/wireshark
idl2wrs: extend aggressive mode
Add a "_loop" header field also when processing attributes Change-Id: I109b34d8f6cb8fbf3c38dc09f58b740b4d96436b Reviewed-on: https://code.wireshark.org/review/33460 Reviewed-by: Gerald Combs <gerald@wireshark.org> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
This commit is contained in:
parent
5e69a7d7d7
commit
4ebf72d232
|
@ -351,8 +351,12 @@ class wireshark_gen_C:
|
|||
sname = self.namespace(decl, "_")
|
||||
|
||||
self.st.out(self.template_hf, name="get" + "_" + sname + "_" + decl.identifier())
|
||||
if self.AGGRESSIVE:
|
||||
self.st.out(self.template_hf, name="get" + "_" + sname + "_" + decl.identifier()+"_loop")
|
||||
if not at.readonly():
|
||||
self.st.out(self.template_hf, name="set" + "_" + sname + "_" + decl.identifier())
|
||||
if self.AGGRESSIVE:
|
||||
self.st.out(self.template_hf, name="set" + "_" + sname + "_" + decl.identifier()+"_loop")
|
||||
|
||||
#
|
||||
# genStDeclares()
|
||||
|
|
Loading…
Reference in New Issue