Ignore:
Timestamp:
Nov 25, 2007, 12:11:54 PM (12 years ago)
Author:
Sam Hocevar
Message:
  • Made the caca_event_t structure opaque and created a whole bunch of functions to access its real data. This is a big API change that will break your software, sorry :(
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/test/swallow.c

    r1753 r2049  
    8484        int ret = caca_get_event(dp, CACA_EVENT_ANY, &ev, 0);
    8585
    86         if(ret && ev.type & CACA_EVENT_KEY_PRESS)
     86        if(ret && caca_get_event_type(&ev) & CACA_EVENT_KEY_PRESS)
    8787            break;
    8888
Note: See TracChangeset for help on using the changeset viewer.