ICU-10778 Delimit Generated Code in MeasureUnit.
X-SVN-Rev: 35797
This commit is contained in:
parent
eee3938658
commit
9040a55e62
@ -25,6 +25,8 @@ U_NAMESPACE_BEGIN
|
||||
|
||||
UOBJECT_DEFINE_RTTI_IMPLEMENTATION(MeasureUnit)
|
||||
|
||||
// Start generated code
|
||||
|
||||
static const int32_t gOffsets[] = {
|
||||
0,
|
||||
1,
|
||||
@ -565,6 +567,8 @@ MeasureUnit *MeasureUnit::createLiter(UErrorCode &status) {
|
||||
return MeasureUnit::create(11, 2, status);
|
||||
}
|
||||
|
||||
// End generated code
|
||||
|
||||
static int32_t binarySearch(
|
||||
const char * const * array, int32_t start, int32_t end, const char * key) {
|
||||
while (start < end) {
|
||||
|
@ -556,6 +556,9 @@ class U_I18N_API MeasureUnit: public UObject {
|
||||
* @draft ICU 53
|
||||
*/
|
||||
static MeasureUnit *createLiter(UErrorCode &status);
|
||||
|
||||
// End generated createXXX methods
|
||||
|
||||
#endif /* U_HIDE_DRAFT_API */
|
||||
|
||||
protected:
|
||||
|
Loading…
Reference in New Issue
Block a user