Ignore:
Timestamp:
Nov 24, 2007, 12:08:21 PM (13 years ago)
Author:
Sam Hocevar
Message:
  • Added as many "const" qualifiers as possible to the public API.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/caca/caca.h

    r2039 r2043  
    193193__extern int caca_refresh_display(caca_display_t *);
    194194__extern int caca_set_display_time(caca_display_t *, unsigned int);
    195 __extern unsigned int caca_get_display_time(caca_display_t *);
    196 __extern unsigned int caca_get_display_width(caca_display_t *);
    197 __extern unsigned int caca_get_display_height(caca_display_t *);
     195__extern unsigned int caca_get_display_time(caca_display_t const *);
     196__extern unsigned int caca_get_display_width(caca_display_t const *);
     197__extern unsigned int caca_get_display_height(caca_display_t const *);
    198198__extern int caca_set_display_title(caca_display_t *, char const *);
    199199/*  @} */
     
    207207__extern int caca_get_event(caca_display_t *, unsigned int,
    208208                            caca_event_t *, int);
    209 __extern unsigned int caca_get_mouse_x(caca_display_t *);
    210 __extern unsigned int caca_get_mouse_y(caca_display_t *);
     209__extern unsigned int caca_get_mouse_x(caca_display_t const *);
     210__extern unsigned int caca_get_mouse_y(caca_display_t const *);
    211211__extern int caca_set_mouse(caca_display_t *, int);
    212212__extern int caca_set_cursor(caca_display_t *, int);
Note: See TracChangeset for help on using the changeset viewer.