Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Create minivect function type for function calls

  • Loading branch information...
commit bdaeea518d49d46bafca888dffe1ec845becd96f 1 parent 4ae867f
Mark Florisson authored
5 Cython/Compiler/Vector.py
View
@@ -1550,7 +1550,10 @@ def visit_SimpleCallNode(self, node, minitype):
# normal function argument, create partial function
miniargs.append(self.register_operand(arg))
- minifunc = b.funcname(minitype, node.function.entry.cname)
+ arg_types = [arg.type for arg in miniargs]
+ func_type = minitypes.FunctionType(return_type=minitype,
+ arg_types=arg_types)
+ minifunc = b.funcname(func_type, node.function.entry.cname)
return b.funccall(minifunc, miniargs)
@elemental_dispatcher
1  Cython/minivect
@@ -1 +0,0 @@
-Subproject commit 5f37766d43b6dad54890f14407850b5c03d3af97
1  Cython/minivect
View
Please sign in to comment.
Something went wrong with that request. Please try again.