in_sdl: allow external event handler

This commit is contained in:
notaz 2012-11-17 02:09:18 +02:00
parent a4025790b5
commit 9227a7770e
2 changed files with 16 additions and 4 deletions

View file

@ -1,3 +1,4 @@
struct in_default_bind;
void in_sdl_init(const struct in_default_bind *defbinds);
void in_sdl_init(const struct in_default_bind *defbinds,
void (*handler)(void *event));