helpers.h 424 B

1234567891011121314151617
  1. #include <allegro5/allegro.h>
  2. /* C Standard guarantees that all function pointers are equivalent. */
  3. typedef void (*function_pointer)(void *);
  4. int go_qsort_callback(void * p1, void * p2);
  5. extern function_pointer go_upload_bitmap_cb;
  6. extern function_pointer go_qsort_cb;
  7. int take_callback(function_pointer cb, void * data);
  8. typedef int go_take_callback_function(void * context);
  9. int go_take_callback(void * context);