From 616a64c87cd8c8f0348e2bee1cba5b87b3e760c4 Mon Sep 17 00:00:00 2001 From: Niels Provos Date: Thu, 27 Dec 2007 20:08:21 +0000 Subject: [PATCH] additional add argument was missing const qualifier svn:r615 --- event_rpcgen.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/event_rpcgen.py b/event_rpcgen.py index 68ed132a..bb6986d5 100755 --- a/event_rpcgen.py +++ b/event_rpcgen.py @@ -338,7 +338,8 @@ class Entry: "refname" : self._refname, "optpointer" : self._optpointer and "*" or "", "optreference" : self._optpointer and "&" or "", - "optaddarg" : self._optaddarg and ", %s value" % self._ctype or "" + "optaddarg" : + self._optaddarg and ", const %s value" % self._ctype or "" } for (k, v) in extradict.items(): mapping[k] = v -- 2.50.1