Commit dab03a3c authored by Stefan Behnel's avatar Stefan Behnel

fix MSVC compiler warning

parent 07d84ea2
# mode: compile
def f(obj, int i, float f, char *s1, char s2[]):
def f(obj, int i, double f, char *s1, char s2[]):
pass
cdef g(obj, int i, float f, char *s1, char s2[]):
cdef g(obj, int i, double f, char *s1, char s2[]):
pass
cdef do_g(object (*func)(object, int, float, char*, char*)):
cdef do_g(object (*func)(object, int, double, char*, char*)):
return func(1, 2, 3.14159, "a", "b")
do_g(&g)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment