Esempio n. 1
0
    def __init__(self, context):
        ModuleScope.__init__(self, u'cython', None, context)
        self.pxd_file_loaded = True

        self.shape_entry = self.declare_cfunction('shape',
                                                  shape_func_type,
                                                  pos=None,
                                                  defining=1,
                                                  cname='<error>')
Esempio n. 2
0
    def __init__(self, context):
        ModuleScope.__init__(self, u'cython', None, context)
        self.pxd_file_loaded = True

        self.shape_entry = self.declare_cfunction('shape',
                                                  shape_func_type,
                                                  pos=None,
                                                  defining = 1,
                                                  cname='<error>')
Esempio n. 3
0
    def __init__(self, context):
        ModuleScope.__init__(self, u"cython", None, None)
        self.pxd_file_loaded = True
        self.populate_cython_scope()
        # The Main.Context object
        self.context = context

        for fused_type in (cy_integral_type, cy_floating_type, cy_numeric_type):
            entry = self.declare_typedef(fused_type.name, fused_type, None, cname="<error>")
            entry.in_cinclude = True
Esempio n. 4
0
    def __init__(self, context):
        ModuleScope.__init__(self, u'cython', None, None)
        self.pxd_file_loaded = True
        self.populate_cython_scope()
        # The Main.Context object
        self.context = context

        for fused_type in (cy_integral_type, cy_floating_type,
                           cy_numeric_type):
            entry = self.declare_typedef(fused_type.name,
                                         fused_type,
                                         None,
                                         cname='<error>')
            entry.in_cinclude = True
Esempio n. 5
0
 def __init__(self, context):
     ModuleScope.__init__(self, u"cython", None, None)
     self.pxd_file_loaded = True
     self.populate_cython_scope()
     # The Main.Context object
     self.context = context
Esempio n. 6
0
 def __init__(self, context):
     ModuleScope.__init__(self, u'cython', None, None)
     self.pxd_file_loaded = True
     self.populate_cython_scope()
     # The Main.Context object
     self.context = context
Esempio n. 7
0
 def __init__(self):
     ModuleScope.__init__(self, u'cython', None, None)
     self.pxd_file_loaded = True
     self.populate_cython_scope()