Ignore:
Timestamp:
Aug 2, 2006, 3:12:43 PM (14 years ago)
Author:
Sam Hocevar
Message:
  • Fixed libcaca prototypes so that all functions use the errno mechanism and return a value.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/caca/event.c

    r969 r1006  
    4545 *  This function polls the event queue for mouse or keyboard events matching
    4646 *  the event mask and returns the first matching event. Non-matching events
    47  *  are discarded. \c event_mask must have a non-zero value.
     47 *  are discarded. If \c event_mask is zero, the function returns immediately.
    4848 *
    4949 *  The timeout value tells how long this function needs to wait for an
     
    5555 *  received. If null, the function will return but no information about
    5656 *  the event will be sent.
     57 *
     58 *  This function never fails.
    5759 *
    5860 *  \param dp The libcaca graphical context.
     
    118120 *  the mouse is clicked. Other drivers such as X11 work well.
    119121 *
     122 *  This function never fails.
     123 *
    120124 *  \param dp The libcaca graphical context.
    121125 *  \return The X mouse coordinate.
     
    135139 *  drivers are being used, because mouse position is only detected when
    136140 *  the mouse is clicked. Other drivers such as X11 work well.
     141 *
     142 *  This function never fails.
    137143 *
    138144 *  \param dp The libcaca graphical context.
Note: See TracChangeset for help on using the changeset viewer.