]> granicus.if.org Git - python/commitdiff
One more mod for support of C++ classes.
authorJack Jansen <jack.jansen@cwi.nl>
Fri, 10 Feb 2006 22:15:09 +0000 (22:15 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Fri, 10 Feb 2006 22:15:09 +0000 (22:15 +0000)
Tools/bgen/bgen/bgenBuffer.py

index d7a7cbbe7a549eb2d78cfaae299a90e9b8bf7f9a..94ab95003377db42ad53b71783127423445083cf 100644 (file)
@@ -41,7 +41,7 @@ class FixedInputOutputBufferType(InputOnlyType):
     def getArgDeclarations(self, name, reference=False, constmode=False, outmode=False):
         if reference:
             raise RuntimeError, "Cannot pass buffer types by reference"
-        return (self.getBufferDeclarations(name, constmode) +
+        return (self.getBufferDeclarations(name, constmode, outmode) +
                 self.getSizeDeclarations(name, outmode))
 
     def getBufferDeclarations(self, name, constmode=False, outmode=False):