![]() |
OffsetTable |
Header: IntlResources.h |
typedef OffPair OffsetTable;
The FindWordBreaks function uses the offset table, which is defined by the OffsetTable data type. You pass a pointer to a structure of this type to FindWordBreaks, and it fills in the fields to specify the location of the next word in the input string.
Although the offset table contains three OffPair structures, the FindWordBreaks function fills in only the first of these structures with the offset values for the word that it finds. The other two entries are for use by the HiliteText function.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)