| OLD | NEW |
| 1 /* | 1 /* |
| 2 ******************************************************************************* | 2 ******************************************************************************* |
| 3 * | 3 * |
| 4 * Copyright (C) 2003-2005, International Business Machines | 4 * Copyright (C) 2003-2007, International Business Machines |
| 5 * Corporation and others. All Rights Reserved. | 5 * Corporation and others. All Rights Reserved. |
| 6 * | 6 * |
| 7 ******************************************************************************* | 7 ******************************************************************************* |
| 8 * file name: ucnv_set.c | 8 * file name: ucnv_set.c |
| 9 * encoding: US-ASCII | 9 * encoding: US-ASCII |
| 10 * tab size: 8 (not used) | 10 * tab size: 8 (not used) |
| 11 * indentation:4 | 11 * indentation:4 |
| 12 * | 12 * |
| 13 * created on: 2004sep07 | 13 * created on: 2004sep07 |
| 14 * created by: Markus W. Scherer | 14 * created by: Markus W. Scherer |
| (...skipping 30 matching lines...) Expand all Loading... |
| 45 *pErrorCode=U_UNSUPPORTED_ERROR; | 45 *pErrorCode=U_UNSUPPORTED_ERROR; |
| 46 return; | 46 return; |
| 47 } | 47 } |
| 48 | 48 |
| 49 { | 49 { |
| 50 USetAdder sa={ | 50 USetAdder sa={ |
| 51 NULL, | 51 NULL, |
| 52 uset_add, | 52 uset_add, |
| 53 uset_addRange, | 53 uset_addRange, |
| 54 uset_addString, | 54 uset_addString, |
| 55 uset_remove | 55 uset_remove, |
| 56 uset_removeRange |
| 56 }; | 57 }; |
| 57 sa.set=setFillIn; | 58 sa.set=setFillIn; |
| 58 | 59 |
| 59 /* empty the set */ | 60 /* empty the set */ |
| 60 uset_clear(setFillIn); | 61 uset_clear(setFillIn); |
| 61 | 62 |
| 62 /* call the converter to add the code points it supports */ | 63 /* call the converter to add the code points it supports */ |
| 63 cnv->sharedData->impl->getUnicodeSet(cnv, &sa, whichSet, pErrorCode); | 64 cnv->sharedData->impl->getUnicodeSet(cnv, &sa, whichSet, pErrorCode); |
| 64 } | 65 } |
| 65 } | 66 } |
| 66 | 67 |
| 67 #endif | 68 #endif |
| OLD | NEW |