X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=specs%2Fstdapi.py;h=c2a154db0f19936b4048ac2609886ea223340e2a;hb=d6b7eb6b7c8280762fb635a6e63aa3a426694ed7;hp=1988c6588068389304a2dcf6d22488959782a049;hpb=77c10d8849459dbf7484fbc75eabe26cb401bb5a;p=apitrace diff --git a/specs/stdapi.py b/specs/stdapi.py index 1988c65..c2a154d 100644 --- a/specs/stdapi.py +++ b/specs/stdapi.py @@ -272,12 +272,9 @@ class Array(Type): class AttribArray(Type): - def __init__(self, baseType, valueTypes, isConst = True, terminator = '0'): + def __init__(self, baseType, valueTypes, terminator = '0'): self.baseType = baseType - if isConst: - Type.__init__(self, (Pointer(Const(self.baseType))).expr) - else: - Type.__init__(self, (Pointer(self.baseType)).expr) + Type.__init__(self, (Pointer(self.baseType)).expr) self.valueTypes = valueTypes self.terminator = terminator self.hasKeysWithoutValues = False