Ejemplo n.º 1
0
 def __init__(self, ext):
   BuiltinDecl.__init__(
     self,
     ext.root_namespace,
     desc="VoidPtr",
     template_path="types/builtin/void_ptr/void_ptr",
     test_name="VoidPtr",
     )
Ejemplo n.º 2
0
 def __init__(self, ext, type_info):
     BuiltinDecl.__init__(
         self,
         ext.root_namespace,
         desc="Managed %s" % (type_info),
         template_path="types/builtin/managed/managed",
         test_name="Managed_%s" % (type_info.kl.name),
     )
     self.type_info = type_info
Ejemplo n.º 3
0
 def __init__(self, ext, type_info):
     BuiltinDecl.__init__(
         self,
         ext.root_namespace,
         desc="Opaque %s" % (type_info),
         template_path="types/builtin/opaque/opaque",
         test_name="Opaque_%s" % (type_info.kl.name),
     )
     self.type_info = type_info
Ejemplo n.º 4
0
 def __init__(self, ext, type_info):
     BuiltinDecl.__init__(
         self,
         ext.root_namespace,
         desc="Mirror %s" % (type_info),
         template_path="types/builtin/mirror/mirror",
         test_name="Mirror_%s" % (type_info.kl.name),
     )
     self.type_info = type_info
Ejemplo n.º 5
0
 def __init__(self, ext, ti_set):
   BuiltinDecl.__init__(
     self,
     ext.root_namespace,
     desc="PtrRef %s" % (ti_set.direct),
     template_path="types/builtin/ptr_ref/ptr_ref",
     test_name="PtrRef_%s" % (ti_set.direct.kl.name),
     )
   self.type_info = ti_set
Ejemplo n.º 6
0
 def __init__(self, ext, is_simple, type_info):
   BuiltinDecl.__init__(
     self,
     ext.root_namespace,
     desc="InPlace %s" % (type_info),
     template_path="types/builtin/in_place/in_place",
     test_name="InPlace_%s" % (type_info.kl.name),
     )
   self.is_simple = is_simple
   self.type_info = type_info
Ejemplo n.º 7
0
 def __init__(
     self,
     ext,
     type_info,
     is_kludge_ext,
 ):
     BuiltinDecl.__init__(
         self,
         ext.root_namespace,
         desc="Owned %s" % (type_info),
         template_path="types/builtin/owned/owned",
         test_name="Owned_%s" % (type_info.kl.name),
         is_kludge_ext=is_kludge_ext,
     )
     self.type_info = type_info