Searched refs:callback_t (Results 1 – 2 of 2) sorted by relevance
18 typedef void (WINAPI *callback_t)(int); typedef19 void take_callback(callback_t callback);27 take_callback((callback_t)mismatched); in main()30 callback_t callback = (callback_t)mismatched; // warns in main()34 callback = (callback_t)&mismatched; // warns in main()37 callback = (callback_t)!mismatched; in main()40 callback = (callback_t)&mismatched_before_winapi; // warns in main()44 take_callback((callback_t)callback2); in main()47 take_callback((callback_t)(void*)mismatched); in main()
83 typedef CallbackBase_1Data < int > callback_t; in unregisterCallback() typedef84 callback_t *cb = static_cast < callback_t * >(callback); in unregisterCallback()