Searched refs:OA_TYPE (Results 1 - 1 of 1) sorted by relevance
| /xsrc/external/mit/MesaLib.old/dist/src/util/ |
| H A D | xmlconfig.c | 507 enum OptAttr {OA_DEFAULT = 0, OA_NAME, OA_TYPE, OA_VALID, OA_COUNT}; enumerator in enum:parseOptInfoAttr::OptAttr 520 if (!attrVal[OA_TYPE]) XML_FATAL1 ("type attribute missing in option."); 530 if (!strcmp (attrVal[OA_TYPE], "bool")) 532 else if (!strcmp (attrVal[OA_TYPE], "enum")) 534 else if (!strcmp (attrVal[OA_TYPE], "int")) 536 else if (!strcmp (attrVal[OA_TYPE], "float")) 538 else if (!strcmp (attrVal[OA_TYPE], "string")) 541 XML_FATAL ("illegal type in option: %s.", attrVal[OA_TYPE]);
|
Completed in 3 milliseconds