Files: 355f201e18dd1faee156f87a7aa389399a2af267 / tests / c / callback.c
190 bytesRaw
1 | extern void callback(void (*callback)(void)); |
2 | extern void equals(int, int); |
3 | |
4 | void theCallback(void) { |
5 | equals(0, 0); |
6 | } |
7 | |
8 | int onCreation(int msgRef) |
9 | { |
10 | callback(&theCallback); |
11 | return 1; |
12 | } |
13 |
Built with git-ssb-web