Commit a7381504 authored by Stefan Behnel's avatar Stefan Behnel

Minor code cleanup.

parent 6d2c3b93
......@@ -1556,14 +1556,14 @@ class PythranExpr(CType):
self.scope = scope = Symtab.CClassScope('', None, visibility="extern")
scope.parent_type = self
scope.directives = {}
shape = scope.declare_cgetter(
scope.declare_cgetter(
"shape",
CPtrType(c_long_type),
pos=None,
cname="__Pyx_PythranShapeAccessor",
visibility="extern",
nogil=True)
scope.declare_var("ndim", c_long_type, None, cname="value", is_cdef=True)
scope.declare_var("ndim", c_long_type, pos=None, cname="value", is_cdef=True)
return True
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment