]> granicus.if.org Git - libevent/commitdiff
additional add argument was missing const qualifier
authorNiels Provos <provos@gmail.com>
Thu, 27 Dec 2007 20:08:21 +0000 (20:08 +0000)
committerNiels Provos <provos@gmail.com>
Thu, 27 Dec 2007 20:08:21 +0000 (20:08 +0000)
svn:r615

event_rpcgen.py

index 68ed132a4b469168caddea5f24caef9c2da894cd..bb6986d5a6391b0b15dbedbcb1f84b619eb7ff82 100755 (executable)
@@ -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