From 57fe05f95cf9966743b3f4121438d1494d958cac Mon Sep 17 00:00:00 2001 From: Georg Hopp Date: Tue, 20 Oct 2015 20:25:03 +0200 Subject: [PATCH] Change function signature to void* There might be vaious EventHandler so we accept every of these and cast accordingly... --- include/tr/event_handler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/tr/event_handler.h b/include/tr/event_handler.h index d043c2f..e4f7d4f 100644 --- a/include/tr/event_handler.h +++ b/include/tr/event_handler.h @@ -35,7 +35,7 @@ TR_CLASS(TR_EventHandler); #include "tr/event_dispatcher.h" -typedef TR_EventDone (* TR_EventMethod_fptr)(TR_EventHandler, TR_Event); +typedef TR_EventDone (* TR_EventMethod_fptr)(void *, TR_Event); TR_CLASS(TR_EventHandler) { TR_EventDispatcher dispatcher[10];