예제 #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",
     )
예제 #2
0
파일: __init__.py 프로젝트: caron/kludge
 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
예제 #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
예제 #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
예제 #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
예제 #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
예제 #7
0
파일: __init__.py 프로젝트: caron/kludge
 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