This source file includes following definitions.
- rpl_iconv_close
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 #include <config.h>
18
19
20 #include <iconv.h>
21
22 #include <stdint.h>
23
24 int
25 rpl_iconv_close (iconv_t cd)
26 #undef iconv_close
27 {
28 #if REPLACE_ICONV_UTF
29 switch ((uintptr_t) cd)
30 {
31 case (uintptr_t) _ICONV_UTF8_UTF16BE:
32 case (uintptr_t) _ICONV_UTF8_UTF16LE:
33 case (uintptr_t) _ICONV_UTF8_UTF32BE:
34 case (uintptr_t) _ICONV_UTF8_UTF32LE:
35 case (uintptr_t) _ICONV_UTF16BE_UTF8:
36 case (uintptr_t) _ICONV_UTF16LE_UTF8:
37 case (uintptr_t) _ICONV_UTF32BE_UTF8:
38 case (uintptr_t) _ICONV_UTF32LE_UTF8:
39 return 0;
40 }
41 #endif
42 return iconv_close (cd);
43 }