Commit 57fe05f95cf9966743b3f4121438d1494d958cac

Authored by Georg Hopp
1 parent c5fc0fe6

Change function signature to void*

There might be vaious EventHandler so we accept every of these
and cast accordingly...
Showing 1 changed file with 1 additions and 1 deletions
@@ -35,7 +35,7 @@ TR_CLASS(TR_EventHandler); @@ -35,7 +35,7 @@ TR_CLASS(TR_EventHandler);
35 35
36 #include "tr/event_dispatcher.h" 36 #include "tr/event_dispatcher.h"
37 37
38 -typedef TR_EventDone (* TR_EventMethod_fptr)(TR_EventHandler, TR_Event); 38 +typedef TR_EventDone (* TR_EventMethod_fptr)(void *, TR_Event);
39 39
40 TR_CLASS(TR_EventHandler) { 40 TR_CLASS(TR_EventHandler) {
41 TR_EventDispatcher dispatcher[10]; 41 TR_EventDispatcher dispatcher[10];
Please register or login to post a comment