Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(65)

Side by Side Diff: third_party/libxml/src/trio.h

Issue 1193533007: Upgrade to libxml 2.9.2 and libxslt 1.1.28 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: no iconv Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/libxml/src/tree.c ('k') | third_party/libxml/src/trio.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /************************************************************************* 1 /*************************************************************************
2 * 2 *
3 * $Id$ 3 * $Id$
4 * 4 *
5 * Copyright (C) 1998 Bjorn Reese and Daniel Stenberg. 5 * Copyright (C) 1998 Bjorn Reese and Daniel Stenberg.
6 * 6 *
7 * Permission to use, copy, modify, and distribute this software for any 7 * Permission to use, copy, modify, and distribute this software for any
8 * purpose with or without fee is hereby granted, provided that the above 8 * purpose with or without fee is hereby granted, provided that the above
9 * copyright notice and this permission notice appear in all copies. 9 * copyright notice and this permission notice appear in all copies.
10 * 10 *
(...skipping 10 matching lines...) Expand all
21 21
22 #ifndef TRIO_TRIO_H 22 #ifndef TRIO_TRIO_H
23 #define TRIO_TRIO_H 23 #define TRIO_TRIO_H
24 24
25 #if !defined(WITHOUT_TRIO) 25 #if !defined(WITHOUT_TRIO)
26 26
27 /* 27 /*
28 * Use autoconf defines if present. Packages using trio must define 28 * Use autoconf defines if present. Packages using trio must define
29 * HAVE_CONFIG_H as a compiler option themselves. 29 * HAVE_CONFIG_H as a compiler option themselves.
30 */ 30 */
31 #if defined(HAVE_CONFIG_H) 31 #if defined(TRIO_HAVE_CONFIG_H)
32 # include "config.h" 32 # include "config.h"
33 #endif 33 #endif
34 34
35 #include "triodef.h" 35 #include "triodef.h"
36 36
37 #include <stdio.h> 37 #include <stdio.h>
38 #include <stdlib.h> 38 #include <stdlib.h>
39 #if defined(TRIO_COMPILER_ANCIENT) 39 #if defined(TRIO_COMPILER_ANCIENT)
40 # include <varargs.h> 40 # include <varargs.h>
41 #else 41 #else
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 void trio_locale_set_decimal_point TRIO_PROTO((char *decimalPoint)); 148 void trio_locale_set_decimal_point TRIO_PROTO((char *decimalPoint));
149 void trio_locale_set_thousand_separator TRIO_PROTO((char *thousandSeparator)); 149 void trio_locale_set_thousand_separator TRIO_PROTO((char *thousandSeparator));
150 void trio_locale_set_grouping TRIO_PROTO((char *grouping)); 150 void trio_locale_set_grouping TRIO_PROTO((char *grouping));
151 151
152 /************************************************************************* 152 /*************************************************************************
153 * Renaming 153 * Renaming
154 */ 154 */
155 #ifdef TRIO_REPLACE_STDIO 155 #ifdef TRIO_REPLACE_STDIO
156 /* Replace the <stdio.h> functions */ 156 /* Replace the <stdio.h> functions */
157 #ifndef HAVE_PRINTF 157 #ifndef HAVE_PRINTF
158 # undef printf
158 # define printf trio_printf 159 # define printf trio_printf
159 #endif 160 #endif
160 #ifndef HAVE_VPRINTF 161 #ifndef HAVE_VPRINTF
162 # undef vprintf
161 # define vprintf trio_vprintf 163 # define vprintf trio_vprintf
162 #endif 164 #endif
163 #ifndef HAVE_FPRINTF 165 #ifndef HAVE_FPRINTF
166 # undef fprintf
164 # define fprintf trio_fprintf 167 # define fprintf trio_fprintf
165 #endif 168 #endif
166 #ifndef HAVE_VFPRINTF 169 #ifndef HAVE_VFPRINTF
170 # undef vfprintf
167 # define vfprintf trio_vfprintf 171 # define vfprintf trio_vfprintf
168 #endif 172 #endif
169 #ifndef HAVE_SPRINTF 173 #ifndef HAVE_SPRINTF
174 # undef sprintf
170 # define sprintf trio_sprintf 175 # define sprintf trio_sprintf
171 #endif 176 #endif
172 #ifndef HAVE_VSPRINTF 177 #ifndef HAVE_VSPRINTF
178 # undef vsprintf
173 # define vsprintf trio_vsprintf 179 # define vsprintf trio_vsprintf
174 #endif 180 #endif
175 #ifndef HAVE_SNPRINTF 181 #ifndef HAVE_SNPRINTF
182 # undef snprintf
176 # define snprintf trio_snprintf 183 # define snprintf trio_snprintf
177 #endif 184 #endif
178 #ifndef HAVE_VSNPRINTF 185 #ifndef HAVE_VSNPRINTF
186 # undef vsnprintf
179 # define vsnprintf trio_vsnprintf 187 # define vsnprintf trio_vsnprintf
180 #endif 188 #endif
181 #ifndef HAVE_SCANF 189 #ifndef HAVE_SCANF
190 # undef scanf
182 # define scanf trio_scanf 191 # define scanf trio_scanf
183 #endif 192 #endif
184 #ifndef HAVE_VSCANF 193 #ifndef HAVE_VSCANF
194 # undef vscanf
185 # define vscanf trio_vscanf 195 # define vscanf trio_vscanf
186 #endif 196 #endif
187 #ifndef HAVE_FSCANF 197 #ifndef HAVE_FSCANF
198 # undef fscanf
188 # define fscanf trio_fscanf 199 # define fscanf trio_fscanf
189 #endif 200 #endif
190 #ifndef HAVE_VFSCANF 201 #ifndef HAVE_VFSCANF
202 # undef vfscanf
191 # define vfscanf trio_vfscanf 203 # define vfscanf trio_vfscanf
192 #endif 204 #endif
193 #ifndef HAVE_SSCANF 205 #ifndef HAVE_SSCANF
206 # undef sscanf
194 # define sscanf trio_sscanf 207 # define sscanf trio_sscanf
195 #endif 208 #endif
196 #ifndef HAVE_VSSCANF 209 #ifndef HAVE_VSSCANF
210 # undef vsscanf
197 # define vsscanf trio_vsscanf 211 # define vsscanf trio_vsscanf
198 #endif 212 #endif
199 /* These aren't stdio functions, but we make them look similar */ 213 /* These aren't stdio functions, but we make them look similar */
200 #define dprintf trio_dprintf 214 #define dprintf trio_dprintf
201 #define vdprintf trio_vdprintf 215 #define vdprintf trio_vdprintf
202 #define aprintf trio_aprintf 216 #define aprintf trio_aprintf
203 #define vaprintf trio_vaprintf 217 #define vaprintf trio_vaprintf
204 #define asprintf trio_asprintf 218 #define asprintf trio_asprintf
205 #define vasprintf trio_vasprintf 219 #define vasprintf trio_vasprintf
206 #define dscanf trio_dscanf 220 #define dscanf trio_dscanf
207 #define vdscanf trio_vdscanf 221 #define vdscanf trio_vdscanf
208 #endif 222 #endif
209 223
210 #ifdef __cplusplus 224 #ifdef __cplusplus
211 } /* extern "C" */ 225 } /* extern "C" */
212 #endif 226 #endif
213 227
214 #endif /* WITHOUT_TRIO */ 228 #endif /* WITHOUT_TRIO */
215 229
216 #endif /* TRIO_TRIO_H */ 230 #endif /* TRIO_TRIO_H */
OLDNEW
« no previous file with comments | « third_party/libxml/src/tree.c ('k') | third_party/libxml/src/trio.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698