class Ctx(object):
""" Parsing context
- * cname (string): Generated symbol name (or source name, is the
- symbol is external.
* namespace (string): C++ namespace of the source (`None` for C
objects, set if the symbol is external)
* cdef_flag (boolean): Symbol (data) has a C definition.
definition is created).
* ignore: ? something about symbol re-definition?
- * const (boolean): Symbol data is readonly.
* api (boolean): Add to generated header file
-
- * name (string): Name to which the object is bound (if the object
- is visible)
* visibility ('private'|'public'|'readonly'):
* private: Object is not exposed to Python code.
nogil = 0
templates = None
- cname = None
namespace = None
cdef_flag = 0
c_visibility = 'private'
- const = 0
api = 0
- name = None
visibility = 'public'
overridable = 0
class Entry(object):
# A symbol table entry in a Scope or ModuleNamespace.
#
- # name string Python name of entity
- # cname string C name of entity
+ # name string Name to which the object is bound (if the object
+ # is visible from Python)
+ # cname string Generated C symbol name (or source name, if the
+ # symbol is external.
# type PyrexType Type of entity
# doc string Doc string
# init string Initial value