Added U_CAPI to charforwarditerator.

X-SVN-Rev: 4113
This commit is contained in:
Syn Wee Quek 2001-03-15 22:40:25 +00:00
parent 75f0fba855
commit bf211f79da
2 changed files with 4 additions and 2 deletions

View File

@ -74,7 +74,7 @@ const uint32_t tblcoll_STACK_BUFFER_LENGTH_ = 1024;
/* forward declarations ----------------------------------------------------- */
UChar forwardCharIteratorGlue(void *iterator);
U_CAPI UChar forwardCharIteratorGlue(void *iterator);
/* RuleBasedCollator declaration ----------------------------------------- */
@ -759,7 +759,7 @@ char RuleBasedCollator::fgClassID = 0;
/* other methods not belonging to any classes ------------------------------- */
UChar forwardCharIteratorGlue(void *iterator)
U_CAPI UChar forwardCharIteratorGlue(void *iterator)
{
ForwardCharacterIterator *iter = ((ForwardCharacterIterator *)iterator);
UChar result = iter->nextPostInc();

View File

@ -580,7 +580,9 @@ U_CAPI UCollator * ucol_safeClone(
#define U_COL_SAFECLONE_BUFFERSIZE 256
/* declaration for forward iterating function */
U_CDECL_BEGIN
typedef UChar UCharForwardIterator(void *context);
U_CDECL_END
/**
* String compare that uses user supplied character iteration.