You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Slávek Banko 0f27805eed
DEB pyrex: Added to repository.
4 years ago
..
Makefile DEB pyrex: Added to repository. 4 years ago
Makefile.nodistutils DEB pyrex: Added to repository. 4 years ago
README.txt DEB pyrex: Added to repository. 4 years ago
Setup.py DEB pyrex: Added to repository. 4 years ago
cheese.pyx DEB pyrex: Added to repository. 4 years ago
cheesefinder.c DEB pyrex: Added to repository. 4 years ago
cheesefinder.h DEB pyrex: Added to repository. 4 years ago
run_cheese.py DEB pyrex: Added to repository. 4 years ago

README.txt

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

This example demonstrates how you can wrap a C API
that has a callback interface, so that you can
pass Python functions to it as callbacks.

The files cheesefinder.h and cheesefinder.c
represent the C library to be wrapped.

The file cheese.pyx is the Pyrex module
which wraps it.

The file run_cheese.py demonstrates how to
call the wrapper.