diff options
author | José Fonseca <jfonseca@vmware.com> | 2010-11-25 19:55:27 +0000 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2010-11-25 19:55:27 +0000 |
commit | 4441baf48293cb525f2a65f6c3bce627c4576298 (patch) | |
tree | 9f2d10d33bd8b259c10f77502f41db880c69a428 /stdapi.py | |
parent | 768198600907c473d65f97395bd53d9df2da4834 (diff) |
More extensions.
Diffstat (limited to 'stdapi.py')
-rw-r--r-- | stdapi.py | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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 + ' *') |