Changeset 868 for libcaca


Ignore:
Timestamp:
Apr 25, 2006, 10:54:44 AM (15 years ago)
Author:
Sam Hocevar
Message:
  • Added basis for an errno-like mechanism.
Location:
libcaca/trunk/cucul
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/cucul/Makefile.am

    r851 r868  
    1717        buffer.c \
    1818        canvas.c \
     19        error.c \
    1920        transform.c \
    2021        charset.c \
  • libcaca/trunk/cucul/cucul.h

    r842 r868  
    3232#endif
    3333
    34 /** \e libcucul context */
     34/** \e libcucul canvas */
    3535typedef struct cucul_canvas cucul_canvas_t;
    3636/** dither structure */
     
    7878void cucul_free_canvas(cucul_canvas_t *);
    7979int cucul_rand(int, int);
     80/*  @} */
     81
     82/** \defgroup error libcucul error management
     83 *
     84 *  These functions provide simple error management routines.
     85 *
     86 *  @{ */
     87#define ECUCUL_NOMEM (100)
     88#define ECUCUL_INVAL (101)
     89#define ECUCUL_RANGE (102)
     90int cucul_errno(void);
     91char const *cucul_strerr(int);
    8092/*  @} */
    8193
Note: See TracChangeset for help on using the changeset viewer.