Ignore:
Timestamp:
Apr 23, 2008, 11:24:34 PM (13 years ago)
Author:
Sam Hocevar
Message:
  • Switch a few unsigned int variables to size_t where appropriate.
  • Synchronise parameter types in the C++ bindings with the C API.
File:
1 edited

Legend:

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

    r2304 r2313  
    6969    ~Dither();
    7070
    71     void setPalette(unsigned int r[], unsigned int g[],
    72                     unsigned int b[], unsigned int a[]);
     71    void setPalette(uint32_t r[], uint32_t g[],
     72                    uint32_t b[], uint32_t a[]);
    7373    void setBrightness(float);
    7474    void setGamma(float);
     
    137137
    138138    char const * const * getImportList(void);
    139     long int importMemory(void const *, unsigned long int, char const *);
     139    long int importMemory(void const *, size_t, char const *);
    140140    long int importFile(char const *, char const *);
    141141    char const * const * getExportList(void);
    142     void *exportMemory(char const *, unsigned long int *);
     142    void *exportMemory(char const *, size_t *);
    143143
    144144    static int Rand(int, int);
    145145    static char const * getVersion();
     146
    146147 protected:
    147148    cucul_canvas_t *get_cucul_canvas_t();
Note: See TracChangeset for help on using the changeset viewer.