projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fb0e40
)
fix for C++ declaration problem
author
Stefan Behnel
<scoder@users.berlios.de>
Mon, 1 Sep 2008 07:24:10 +0000
(09:24 +0200)
committer
Stefan Behnel
<scoder@users.berlios.de>
Mon, 1 Sep 2008 07:24:10 +0000
(09:24 +0200)
Cython/Compiler/ModuleNode.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/ModuleNode.py
b/Cython/Compiler/ModuleNode.py
index d7fb6b1cf9c23b2f3c71ad2be8ede3566e747e7f..f2987cecaa683fc085a21065992adcc2f21138a5 100644
(file)
--- a/
Cython/Compiler/ModuleNode.py
+++ b/
Cython/Compiler/ModuleNode.py
@@
-759,10
+759,8
@@
class ModuleNode(Nodes.Node, Nodes.BlockNode):
dll_linkage = dll_linkage)
if entry.visibility == 'private':
storage_class = "static "
- elif entry.visibility == 'extern':
- storage_class = "%s " % Naming.extern_c_macro
else:
- storage_class = "
"
+ storage_class = "
%s " % Naming.extern_c_macro
code.putln("%s%s; /*proto*/" % (
storage_class,
header))