Ignore:
Timestamp:
Apr 26, 2006, 1:54:26 PM (15 years ago)
Author:
Sam Hocevar
Message:
  • Implemented cucul_load_file() and cucul_load_memory() to load respectively a file and a memory area into a libcucul buffer.
  • Changed the cucul_import_canvas() prototype so that it uses libcucul buffers instead of simple memory areas.
File:
1 edited

Legend:

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

    r874 r896  
    8585 *
    8686 *  @{ */
     87cucul_buffer_t *cucul_load_memory(void *, unsigned long int);
     88cucul_buffer_t *cucul_load_file(char const *);
    8789unsigned long int cucul_get_buffer_size(cucul_buffer_t *);
    8890void * cucul_get_buffer_data(cucul_buffer_t *);
     
    207209cucul_buffer_t * cucul_export_canvas(cucul_canvas_t *, char const *);
    208210char const * const * cucul_get_export_list(void);
    209 cucul_canvas_t * cucul_import_canvas(void const *, unsigned int, char const *);
     211cucul_canvas_t * cucul_import_canvas(cucul_buffer_t *, char const *);
    210212char const * const * cucul_get_import_list(void);
    211213/*  @} */
Note: See TracChangeset for help on using the changeset viewer.