Ignore:
Timestamp:
Apr 22, 2006, 9:46:43 PM (14 years ago)
Author:
Sam Hocevar
Message:
  • Allow the caca_event_t *ev argument for caca_get_event() to be NULL.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/doc/migrating.dox

    r848 r849  
    4848    /* Initialise libcaca */
    4949    cucul_canvas_t *cv;
    50     caca_display_t *dp; caca_event_t ev;
     50    caca_display_t *dp;
    5151    cv = cucul_create_canvas(0, 0);
    5252    dp = caca_create_display(cv);
     
    6262    /* Wait for a key press event */
    6363    caca_get_event(dp, CACA_EVENT_KEY_PRESS,
    64                    &ev, -1);
     64                   NULL, -1);
    6565    /* Clean up library */
    6666    caca_free_display(dp);
Note: See TracChangeset for help on using the changeset viewer.