/*
-*****************************************************************************************
-* Copyright (C) 1996-2006, International Business Machines
+********************************************************************************
+* Copyright (C) 1996-2008, International Business Machines
* Corporation and others. All Rights Reserved.
-*****************************************************************************************
+********************************************************************************
*/
#include "unicode/utypes.h"
U_NAMESPACE_USE
-//----------------------------------------------------------------------------------------
+//------------------------------------------------------------------------------
//
// ubrk_open Create a canned type of break iterator based on type (word, line, etc.)
// and locale.
//
-//----------------------------------------------------------------------------------------
+//------------------------------------------------------------------------------
U_CAPI UBreakIterator* U_EXPORT2
ubrk_open(UBreakIteratorType type,
const char *locale,
-//----------------------------------------------------------------------------------------
+//------------------------------------------------------------------------------
//
// ubrk_openRules open a break iterator from a set of break rules.
// Invokes the rule builder.
//
-//----------------------------------------------------------------------------------------
+//------------------------------------------------------------------------------
U_CAPI UBreakIterator* U_EXPORT2
ubrk_openRules( const UChar *rules,
int32_t rulesLength,
BreakIterator *result = 0;
UnicodeString ruleString(rules, rulesLength);
- result = RBBIRuleBuilder::createRuleBasedBreakIterator(ruleString, *parseErr, *status);
+ result = RBBIRuleBuilder::createRuleBasedBreakIterator(ruleString, parseErr, *status);
if(U_FAILURE(*status)) {
return 0;
}
-U_DRAFT void U_EXPORT2
+U_CAPI void U_EXPORT2
ubrk_setUText(UBreakIterator *bi,
UText *text,
UErrorCode *status)