Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gwenaël Samain
cython
Commits
2aa1bd83
Commit
2aa1bd83
authored
Jul 07, 2009
by
Kurt Smith
Committed by
Mark Florisson
Sep 30, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove hardcoded string, refer to Naming.typeptr_prefix instead.
parent
dfea91e5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
Cython/Compiler/CythonScope.py
Cython/Compiler/CythonScope.py
+2
-1
No files found.
Cython/Compiler/CythonScope.py
View file @
2aa1bd83
...
@@ -88,11 +88,12 @@ class CythonScope(ModuleScope):
...
@@ -88,11 +88,12 @@ class CythonScope(ModuleScope):
is_cdef
=
True
)
is_cdef
=
True
)
entry
.
utility_code_definition
=
view_utility_code
entry
.
utility_code_definition
=
view_utility_code
name
=
u'array'
entry
=
self
.
declare_c_class
(
u'array'
,
None
,
entry
=
self
.
declare_c_class
(
u'array'
,
None
,
implementing
=
1
,
implementing
=
1
,
objstruct_cname
=
'__pyx_obj_array'
,
objstruct_cname
=
'__pyx_obj_array'
,
typeobj_cname
=
'__pyx_tobj_array'
,
typeobj_cname
=
'__pyx_tobj_array'
,
typeptr_cname
=
'__pyx_ptype_array'
)
typeptr_cname
=
Naming
.
typeptr_prefix
+
name
)
# NOTE: the typeptr_cname is constrained to be '__pyx_ptype_<name>'
# NOTE: the typeptr_cname is constrained to be '__pyx_ptype_<name>'
# (name is 'array' in this case). otherwise the code generation for
# (name is 'array' in this case). otherwise the code generation for
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment