10 #ifndef GO_API_UTILS_H
11 #define GO_API_UTILS_H
20 #define GoUtils_MinMax_(in, min, max) \
21 (((in) > (max) || (in) < (min)) ? (kFALSE) : (kTRUE))
23 GoFx(kStatus) GoOptionList_ParseList32u(const kChar* text, kArrayList list);
24 GoFx(kStatus) GoOptionList_Parse32u(const kChar* text, k32u* optionList, kSize capacity, kSize* count);
25 GoFx(kStatus) GoOptionList_ParseHelper32u(const kChar* text, kSize length, k32u* value);
26 GoFx(kStatus) GoOptionList_Format32u(const k32u* optionList, kSize count, kChar* text, kSize capacity);
27 GoFx(kStatus) GoOptionList_Check32u(const k32u* optionList, kSize count, k32u value);
29 GoFx(kStatus) GoOptionList_ParseList64f(const kChar* text, kArrayList list);
30 GoFx(kStatus) GoOptionList_Parse64f(const kChar* text, k64f* optionList, kSize capacity, kSize* count);
31 GoFx(kStatus) GoOptionList_ParseHelper64f(const kChar* text, kSize length, k64f* value);
32 GoFx(kStatus) GoOptionList_Format64f(const k64f* optionList, kSize count, kChar* text, kSize capacity);
33 GoFx(kStatus) GoOptionList_Check64f(const k64f* optionList, kSize count, k64f value);
45 GoFx(kBool) GoUtils_FuzzyEquivalence(k64f first, k64f second, k8u decimalPrecision);
47 GoFx(kStatus) GoConfig_WriteRangeElement64f(kXml xml, kXmlItem item, const kChar* elementName, GoElement64f element);
48 GoFx(kStatus) GoConfig_WriteRangeElement32u(kXml xml, kXmlItem item, const kChar* elementName, GoElementUInt32 element);
49 GoFx(kStatus) GoConfig_ReadRangeElement64f(kXml xml, kXmlItem item, const kChar* elementName, GoElement64f* element);
50 GoFx(kStatus) GoConfig_ReadRangeElementUInt32(kXml xml, kXmlItem item, const kChar* elementName, GoElementUInt32* element);
53 #include <GoSdk/GoUtils.x.h>
kBeginHeader() kStatus GoOptionList_ParseList32u(const kChar *text
Returns true if input is within min and max.
Essential API declarations.