Files: 4af0630e844fe5c816f308e0ce8210d97c227951 / 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