Ignore:
Timestamp:
Nov 24, 2007, 12:08:21 PM (12 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/cucul/font.c

    r1878 r2043  
    326326 *  \return The standard glyph width.
    327327 */
    328 unsigned int cucul_get_font_width(cucul_font_t *f)
     328unsigned int cucul_get_font_width(cucul_font_t const *f)
    329329{
    330330    return f->header.width;
     
    341341 *  \return The standard glyph height.
    342342 */
    343 unsigned int cucul_get_font_height(cucul_font_t *f)
     343unsigned int cucul_get_font_height(cucul_font_t const *f)
    344344{
    345345    return f->header.height;
     
    366366 *  \return The list of Unicode blocks supported by the font.
    367367 */
    368 unsigned long int const *cucul_get_font_blocks(cucul_font_t *f)
     368unsigned long int const *cucul_get_font_blocks(cucul_font_t const *f)
    369369{
    370370    return (unsigned long int const *)f->user_block_list;
     
    416416 *  \return This function always returns 0.
    417417 */
    418 int cucul_render_canvas(cucul_canvas_t *cv, cucul_font_t *f,
     418int cucul_render_canvas(cucul_canvas_t const *cv, cucul_font_t const *f,
    419419                        void *buf, unsigned int width,
    420420                        unsigned int height, unsigned int pitch)
Note: See TracChangeset for help on using the changeset viewer.