additional add argument was missing const qualifier

svn:r615
This commit is contained in:
Niels Provos 2007-12-27 20:08:21 +00:00
parent 7e3a7af7d0
commit 616a64c87c

View File

@ -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