summaryrefslogtreecommitdiff
path: root/stdapi.py
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2010-11-25 19:55:27 +0000
committerJosé Fonseca <jfonseca@vmware.com>2010-11-25 19:55:27 +0000
commit4441baf48293cb525f2a65f6c3bce627c4576298 (patch)
tree9f2d10d33bd8b259c10f77502f41db880c69a428 /stdapi.py
parent768198600907c473d65f97395bd53d9df2da4834 (diff)
More extensions.
Diffstat (limited to 'stdapi.py')
-rw-r--r--stdapi.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/stdapi.py b/stdapi.py
index 8826953..68a837c 100644
--- a/stdapi.py
+++ b/stdapi.py
@@ -442,7 +442,13 @@ class Opaque(Type):
return visitor.visit_opaque(self, *args, **kwargs)
-def OpaquePointer(type):
+def OpaquePointer(type, *args):
+ return Opaque(type.expr + ' *')
+
+def OpaqueArray(type, size):
+ return Opaque(type.expr + ' *')
+
+def OpaqueBlob(type, size):
return Opaque(type.expr + ' *')