Signed-off-by: Paul B Mahol <onemda@gmail.com>
typedef struct XPMContext {
uint32_t *pixels;
typedef struct XPMContext {
uint32_t *pixels;
} XPMDecContext;
typedef struct ColorEntry {
} XPMDecContext;
typedef struct ColorEntry {
- const char *name; ///< a string representing the name of the color
+ const char *name; ///< a string representing the name of the color
uint32_t rgb_color; ///< RGB values for the color
} ColorEntry;
uint32_t rgb_color; ///< RGB values for the color
} ColorEntry;
-** functions same as strcspn but ignores characters in reject if they are inside a C style comment...
-** @param string, reject - same as that of strcspn
-** @return length till any character in reject does not occur in string
-*/
+ * Function same as strcspn but ignores characters if they are inside a C style comments
+ */
static size_t mod_strcspn(const char *string, const char *reject)
{
int i, j;
static size_t mod_strcspn(const char *string, const char *reject)
{
int i, j;