Home | Info | Community | Development | myReactOS | Contact Us
Definition at line 70 of file registry.c.
{ GLboolean flag = GL_FALSE; char *word; char *lookHere; char *deleteThis; if (extString == NULL) return GL_FALSE; deleteThis = lookHere = (char *)malloc(strlen((const char *)extString)+1); if (lookHere == NULL) return GL_FALSE; /* strtok() will modify string, so copy it somewhere */ strcpy(lookHere,(const char *)extString); while ((word= strtok(lookHere," ")) != NULL) { if (strcmp(word,(const char *)extName) == 0) { flag = GL_TRUE; break; } lookHere = NULL; /* get next token */ } free((void *)deleteThis); return flag; } /* gluCheckExtension() */