From c49250264d180fadebaebaabd36fd8d75bb9b052 Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Fri, 10 Feb 2006 22:15:09 +0000 Subject: One more mod for support of C++ classes. --- Tools/bgen/bgen/bgenBuffer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- cgit v0.12