* Note that memory is allocated as a single block stored in clrs[0] and
* must be freed by calling function.
*/
-boolean findStopColor (char* colorlist, char* clrs[2], float* frac)
+bool findStopColor (char* colorlist, char* clrs[2], float* frac)
{
colorsegs_t* segs = NULL;
int rv;
if (rv || segs->numc < 2 || segs->segs[0].color == NULL) {
clrs[0] = NULL;
if (segs) freeSegs (segs);
- return FALSE;
+ return false;
}
if (segs->numc > 2)
*frac = 0;
freeSegs (segs);
- return TRUE;
+ return true;
}
UTILS_API boolean mapbool(char *);
UTILS_API int maptoken(char *, char **, int *);
-UTILS_API boolean findStopColor(char *colorlist, char *clrs[2], float *frac);
+UTILS_API bool findStopColor(char *colorlist, char *clrs[2], float *frac);
UTILS_API int test_toggle(void);
UTILS_API void common_init_node(node_t *n);