| OLD | NEW |
| 1 /* | 1 /* |
| 2 ****************************************************************************** | 2 ****************************************************************************** |
| 3 * | 3 * |
| 4 * Copyright (C) 2000-2004, International Business Machines | 4 * Copyright (C) 2000-2014, International Business Machines |
| 5 * Corporation and others. All Rights Reserved. | 5 * Corporation and others. All Rights Reserved. |
| 6 * | 6 * |
| 7 ****************************************************************************** | 7 ****************************************************************************** |
| 8 * | 8 * |
| 9 * File sscanf.c | 9 * File sscanf.c |
| 10 * | 10 * |
| 11 * Modification History: | 11 * Modification History: |
| 12 * | 12 * |
| 13 * Date Name Description | 13 * Date Name Description |
| 14 * 02/08/00 george Creation. Copied from uscanf.c | 14 * 02/08/00 george Creation. Copied from uscanf.c |
| 15 ****************************************************************************** | 15 ****************************************************************************** |
| 16 */ | 16 */ |
| 17 | 17 |
| 18 #include "unicode/utypes.h" | 18 #include "unicode/utypes.h" |
| 19 | 19 |
| 20 #if !UCONFIG_NO_FORMATTING | 20 #if !UCONFIG_NO_FORMATTING && !UCONFIG_NO_CONVERSION |
| 21 | 21 |
| 22 #include "unicode/putil.h" | 22 #include "unicode/putil.h" |
| 23 #include "unicode/ustdio.h" | 23 #include "unicode/ustdio.h" |
| 24 #include "unicode/ustring.h" | 24 #include "unicode/ustring.h" |
| 25 #include "uscanf.h" | 25 #include "uscanf.h" |
| 26 #include "ufile.h" | 26 #include "ufile.h" |
| 27 #include "ufmt_cmn.h" | 27 #include "ufmt_cmn.h" |
| 28 | 28 |
| 29 #include "cmemory.h" | 29 #include "cmemory.h" |
| 30 #include "cstring.h" | 30 #include "cstring.h" |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 converted = u_scanf_parse(&inStr, patternSpecification, ap); | 119 converted = u_scanf_parse(&inStr, patternSpecification, ap); |
| 120 | 120 |
| 121 u_locbund_close(&inStr.str.fBundle); | 121 u_locbund_close(&inStr.str.fBundle); |
| 122 | 122 |
| 123 /* return # of items converted */ | 123 /* return # of items converted */ |
| 124 return converted; | 124 return converted; |
| 125 } | 125 } |
| 126 | 126 |
| 127 #endif /* #if !UCONFIG_NO_FORMATTING */ | 127 #endif /* #if !UCONFIG_NO_FORMATTING */ |
| 128 | 128 |
| OLD | NEW |