Ignore:
Timestamp:
Nov 26, 2007, 2:04:32 AM (12 years ago)
Author:
Sam Hocevar
Message:
  • Add cucul_get_version() and caca_get_version() and updated C++ bindings accordingly.
  • The C++ test example no longer needs "config.h".
Location:
libcaca/trunk/caca
Files:
2 edited

Legend:

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

    r2061 r2074  
    199199}
    200200
     201/** \brief Return the \e libcaca version.
     202 *
     203 *  Return a read-only string with the \e libcaca version information.
     204 *
     205 *  This function never fails.
     206 *
     207 *  \return The \e libcaca version information.
     208 */
     209char const * caca_get_version(void)
     210{
     211    return VERSION;
     212}
     213
    201214/*
    202215 * XXX: The following functions are local.
  • libcaca/trunk/caca/caca.h

    r2073 r2074  
    165165__extern int caca_set_mouse(caca_display_t *, int);
    166166__extern int caca_set_cursor(caca_display_t *, int);
     167__extern char const * caca_get_version(void);
    167168/*  @} */
    168169
Note: See TracChangeset for help on using the changeset viewer.