In some cases, a C function accepts a function pointer. As avid ctypes users, we would like to use those functions, and even pass python function as arguments.
Let's define a function:
>>> def max(x, y):
return x if x >= y else y
Now, that function takes two arguments and r...