ICU-10778 Delimit Generated Code in MeasureUnit.

X-SVN-Rev: 35797
This commit is contained in:
Travis Keep 2014-06-02 22:47:11 +00:00
parent eee3938658
commit 9040a55e62
2 changed files with 7 additions and 0 deletions

View File

@ -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) {

View File

@ -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: