Modified API
|
Description of change
|
int16_t TxtCaselessCompare (const char *, size_t, size_t *, const char *, size_t, size_t *)
|
The parameters that specify lengths—s1Len , s1MatchLen , s2Len , and s2MatchLen —have changed from UInt16 to size_t .
|
uint32_t TxtCharAttr (wchar32_t)
|
This function formerly returned a UInt16 .
|
wchar32_t TxtCharBounds (const char *, size_t, size_t *, size_t *)
|
The inOffset , outStart , and outEnd parameters changed from UInt32 to size_t .
|
size_t TxtCharSize (wchar32_t)
|
This function formerly returned a UInt16 .
|
uint32_t TxtCharXAttr (wchar32_t)
|
This function formerly returned a UInt16 .
|
int16_t TxtCompare (const char *, size_t, size_t *, const char *, size_t, size_t *)
|
The parameters that specify lengths—s1Len , s1MatchLen , s2Len , and s2MatchLen —have changed from UInt16 to size_t .
|
status_t TxtConvertEncoding (Boolean, TxtConvertStateType *, const char *, size_t *, CharEncodingType, char *, size_t *, CharEncodingType, const char *, size_t)
|
The three parameters that specify buffer lengths—ioSrcBytes , ioDstBytes , and substitutionLen —have changed from UInt16 to size_t . Also note that in Palm OS Garnet the substitution string had to be valid in the destination encoding. In Palm OS Cobalt the substitution string is assumed to be in UTF8 encoding.
|
Boolean TxtFindString (const char *, const char *, size_t *, size_t *)
|
The outPos parameter changed from UInt32 to size_t . The outLength parameter changed from UInt16 to size_t .
|
wchar32_t TxtGetChar (const char *, size_t)
|
The inOffset parameter changed from UInt32 to size_t .
|
size_t TxtGetNextChar (const char *, size_t, wchar32_t *)
|
The inOffset parameter changed from UInt32 to size_t . Also, this function now returns a size_t ; formerly it returned a UInt16 .
|
size_t TxtGetPreviousChar (const char *, size_t, wchar32_t *)
|
The inOffset parameter changed from UInt32 to size_t . Also, this function now returns a size_t ; formerly it returned a UInt16 .
|
size_t TxtGetTruncationOffset (const char *, size_t)
|
The inOffset parameter changed from UInt32 to size_t .
|
size_t TxtGetWordWrapOffset (const char *, size_t)
|
The iOffset parameter changed from UInt32 to size_t .
|
uint16_t TxtReplaceStr (char *, size_t, const char *, uint16_t)
|
The inMaxLen parameter changed from UInt16 to size_t .
|
size_t TxtSetNextChar (char *, size_t, wchar32_t)
|
The inOffset parameter changed from UInt32 to size_t .
|
status_t TxtTransliterate (const char *, size_t, char *, size_t *, TranslitOpType)
|
The inSrcLength and ioDstLength parameters have changed from UInt16 to size_t .
|
Boolean TxtWordBounds (const char *, size_t, size_t, size_t *, size_t *)
|
The inLength , inOffset , outStart , and outEnd parameters have changed from UInt32 to size_t .
|