Int64 = Literal("int64_t", "SInt")
UInt64 = Literal("uint64_t", "UInt")
+IntPtr = Literal("intptr_t", "SInt")
+UIntPtr = Literal("uintptr_t", "UInt")
class Const(Type):
class Method(Function):
- def __init__(self, type, name, args, call = '__stdcall', const=False, sideeffects=True):
+ def __init__(self, type, name, args, call = '', const=False, sideeffects=True):
+ assert call == '__stdcall'
Function.__init__(self, type, name, args, call = call, sideeffects=sideeffects)
for index in range(len(self.args)):
self.args[index].index = index + 1