diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2006-02-10 22:15:09 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2006-02-10 22:15:09 (GMT) |
commit | c49250264d180fadebaebaabd36fd8d75bb9b052 (patch) | |
tree | 1451105a3b9f919f847da9d85571ab70bcde7688 /Tools/bgen | |
parent | 82bca63c2be3394b0ad1d2e2fd3c412464e60ebf (diff) | |
download | cpython-c49250264d180fadebaebaabd36fd8d75bb9b052.zip cpython-c49250264d180fadebaebaabd36fd8d75bb9b052.tar.gz cpython-c49250264d180fadebaebaabd36fd8d75bb9b052.tar.bz2 |
One more mod for support of C++ classes.
Diffstat (limited to 'Tools/bgen')
-rw-r--r-- | Tools/bgen/bgen/bgenBuffer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/bgen/bgen/bgenBuffer.py b/Tools/bgen/bgen/bgenBuffer.py index d7a7cbb..94ab950 100644 --- a/Tools/bgen/bgen/bgenBuffer.py +++ b/Tools/bgen/bgen/bgenBuffer.py @@ -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): |