OLD | NEW |
1 /* | 1 /* |
2 ********************************************************************** | 2 ********************************************************************** |
3 * Copyright (c) 2002-2010, International Business Machines | 3 * Copyright (c) 2002-2010, International Business Machines |
4 * Corporation and others. All Rights Reserved. | 4 * Corporation and others. All Rights Reserved. |
5 ********************************************************************** | 5 ********************************************************************** |
6 * Author: Alan Liu | 6 * Author: Alan Liu |
7 * Created: November 11 2002 | 7 * Created: November 11 2002 |
8 * Since: ICU 2.4 | 8 * Since: ICU 2.4 |
9 ********************************************************************** | 9 ********************************************************************** |
10 */ | 10 */ |
11 #include <typeinfo> // for 'typeid' to work | 11 #include "unicode/utypeinfo.h" // for 'typeid' to work |
12 | 12 |
13 #include "unicode/ustring.h" | 13 #include "unicode/ustring.h" |
14 #include "unicode/strenum.h" | 14 #include "unicode/strenum.h" |
15 #include "unicode/putil.h" | 15 #include "unicode/putil.h" |
16 #include "uenumimp.h" | 16 #include "uenumimp.h" |
17 #include "ustrenum.h" | 17 #include "ustrenum.h" |
18 #include "cstring.h" | 18 #include "cstring.h" |
19 #include "cmemory.h" | 19 #include "cmemory.h" |
20 #include "uassert.h" | 20 #include "uassert.h" |
21 | 21 |
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
316 uprv_memcpy(result, &UCHARSTRENUM_VT, sizeof(UCHARSTRENUM_VT)); | 316 uprv_memcpy(result, &UCHARSTRENUM_VT, sizeof(UCHARSTRENUM_VT)); |
317 result->uenum.context = (void*)strings; | 317 result->uenum.context = (void*)strings; |
318 result->index = 0; | 318 result->index = 0; |
319 result->count = count; | 319 result->count = count; |
320 } | 320 } |
321 } | 321 } |
322 return (UEnumeration*) result; | 322 return (UEnumeration*) result; |
323 } | 323 } |
324 | 324 |
325 | 325 |
OLD | NEW |