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
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
69257409
Commit
69257409
authored
Aug 16, 2008
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
this patch seems to fix some builtin-related declaration problems for me
parent
21fb92fb
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
Cython/Compiler/CythonScope.py
Cython/Compiler/CythonScope.py
+1
-1
Cython/Compiler/Symtab.py
Cython/Compiler/Symtab.py
+1
-1
No files found.
Cython/Compiler/CythonScope.py
View file @
69257409
...
...
@@ -13,7 +13,7 @@ class CythonScope(ModuleScope):
self
.
shape_entry
=
self
.
declare_cfunction
(
'shape'
,
shape_func_type
,
pos
=
None
,
visibility
=
'
public
'
,
visibility
=
'
extern
'
,
cname
=
'<error>'
)
def
create_cython_scope
(
context
):
...
...
Cython/Compiler/Symtab.py
View file @
69257409
...
...
@@ -686,7 +686,7 @@ class BuiltinScope(Scope):
# If python_equiv == "
*
", the Python equivalent has the same name
# as the entry, otherwise it has the name specified by python_equiv.
name = EncodedString(name)
entry = self.declare_cfunction(name, type, None, cname)
entry = self.declare_cfunction(name, type, None, cname
, visibility='extern'
)
entry.utility_code = utility_code
if python_equiv:
if python_equiv == "
*
":
...
...
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