Ignore:
Timestamp:
Nov 8, 2006, 5:43:59 PM (13 years ago)
Author:
Sam Hocevar
Message:
  • Renamed cucul_export() to cucul_export_memory(), paves the way for a cucul_export_file() but I'm not sure yet this is a good idea.
  • Use the new import/export API in libcaca.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/cucul/export.c

    r1302 r1306  
    8585 *  \return A pointer to the exported memory area, or NULL in case of error.
    8686 */
    87 void *cucul_export(cucul_canvas_t *cv, char const *format,
    88                    unsigned long int *bytes)
     87void *cucul_export_memory(cucul_canvas_t *cv, char const *format,
     88                          unsigned long int *bytes)
    8989{
    9090    if(!strcasecmp("caca", format))
     
    128128 *  Return a list of available export formats. The list is a NULL-terminated
    129129 *  array of strings, interleaving a string containing the internal value for
    130  *  the export format, to be used with cucul_export_canvas(), and a string
     130 *  the export format, to be used with cucul_export_memory(), and a string
    131131 *  containing the natural language description for that export format.
    132132 *
Note: See TracChangeset for help on using the changeset viewer.