projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bba54be
)
applied pending fix by Greg
author
Stefan Behnel
<scoder@users.berlios.de>
Wed, 11 Jun 2008 19:36:26 +0000
(21:36 +0200)
committer
Stefan Behnel
<scoder@users.berlios.de>
Wed, 11 Jun 2008 19:36:26 +0000
(21:36 +0200)
Cython/Compiler/PyrexTypes.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/PyrexTypes.py
b/Cython/Compiler/PyrexTypes.py
index c6506ae0824b400059d1a7b9159798f64e0b9276..092d2536ce45e0aba1291681c014e63da987c4d6 100644
(file)
--- a/
Cython/Compiler/PyrexTypes.py
+++ b/
Cython/Compiler/PyrexTypes.py
@@
-814,8
+814,6
@@
class CFuncType(CType):
if (not entity_code and cc) or entity_code.startswith("*"):
entity_code = "(%s%s)" % (cc, entity_code)
cc = ""
- if not entity_code:
- entity_code = "()"
return self.return_type.declaration_code(
"%s%s(%s)%s" % (cc, entity_code, arg_decl_code, trailer),
for_display, dll_linkage, pyrex)