diff options
Diffstat (limited to 'debian/pyrex/pyrex-0.9.9/Demos/callback/cheese.pyx')
-rw-r--r-- | debian/pyrex/pyrex-0.9.9/Demos/callback/cheese.pyx | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/debian/pyrex/pyrex-0.9.9/Demos/callback/cheese.pyx b/debian/pyrex/pyrex-0.9.9/Demos/callback/cheese.pyx deleted file mode 100644 index db0fc082..00000000 --- a/debian/pyrex/pyrex-0.9.9/Demos/callback/cheese.pyx +++ /dev/null @@ -1,13 +0,0 @@ -# -# Pyrex wrapper for the cheesefinder API -# - -cdef extern from "cheesefinder.h": - ctypedef void (*cheesefunc)(char *name, void *user_data) - void find_cheeses(cheesefunc user_func, void *user_data) - -def find(f): - find_cheeses(callback, <void*>f) - -cdef void callback(char *name, void *f): - (<object>f)(name) |