summaryrefslogtreecommitdiffstats
path: root/gl/printf-args.h
diff options
context:
space:
mode:
Diffstat (limited to 'gl/printf-args.h')
-rw-r--r--gl/printf-args.h55
1 files changed, 28 insertions, 27 deletions
diff --git a/gl/printf-args.h b/gl/printf-args.h
index 67cb990..2536eba 100644
--- a/gl/printf-args.h
+++ b/gl/printf-args.h
@@ -1,5 +1,6 @@
1/* Decomposed printf argument list. 1/* Decomposed printf argument list.
2 Copyright (C) 1999, 2002-2003, 2006-2007 Free Software Foundation, Inc. 2 Copyright (C) 1999, 2002-2003, 2006-2007, 2009-2010 Free Software
3 Foundation, Inc.
3 4
4 This program is free software; you can redistribute it and/or modify 5 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by 6 it under the terms of the GNU General Public License as published by
@@ -93,42 +94,42 @@ typedef struct
93 arg_type type; 94 arg_type type;
94 union 95 union
95 { 96 {
96 signed char a_schar; 97 signed char a_schar;
97 unsigned char a_uchar; 98 unsigned char a_uchar;
98 short a_short; 99 short a_short;
99 unsigned short a_ushort; 100 unsigned short a_ushort;
100 int a_int; 101 int a_int;
101 unsigned int a_uint; 102 unsigned int a_uint;
102 long int a_longint; 103 long int a_longint;
103 unsigned long int a_ulongint; 104 unsigned long int a_ulongint;
104#if HAVE_LONG_LONG_INT 105#if HAVE_LONG_LONG_INT
105 long long int a_longlongint; 106 long long int a_longlongint;
106 unsigned long long int a_ulonglongint; 107 unsigned long long int a_ulonglongint;
107#endif 108#endif
108 float a_float; 109 float a_float;
109 double a_double; 110 double a_double;
110 long double a_longdouble; 111 long double a_longdouble;
111 int a_char; 112 int a_char;
112#if HAVE_WINT_T 113#if HAVE_WINT_T
113 wint_t a_wide_char; 114 wint_t a_wide_char;
114#endif 115#endif
115 const char* a_string; 116 const char* a_string;
116#if HAVE_WCHAR_T 117#if HAVE_WCHAR_T
117 const wchar_t* a_wide_string; 118 const wchar_t* a_wide_string;
118#endif 119#endif
119 void* a_pointer; 120 void* a_pointer;
120 signed char * a_count_schar_pointer; 121 signed char * a_count_schar_pointer;
121 short * a_count_short_pointer; 122 short * a_count_short_pointer;
122 int * a_count_int_pointer; 123 int * a_count_int_pointer;
123 long int * a_count_longint_pointer; 124 long int * a_count_longint_pointer;
124#if HAVE_LONG_LONG_INT 125#if HAVE_LONG_LONG_INT
125 long long int * a_count_longlongint_pointer; 126 long long int * a_count_longlongint_pointer;
126#endif 127#endif
127#if ENABLE_UNISTDIO 128#if ENABLE_UNISTDIO
128 /* The unistdio extensions. */ 129 /* The unistdio extensions. */
129 const uint8_t * a_u8_string; 130 const uint8_t * a_u8_string;
130 const uint16_t * a_u16_string; 131 const uint16_t * a_u16_string;
131 const uint32_t * a_u32_string; 132 const uint32_t * a_u32_string;
132#endif 133#endif
133 } 134 }
134 a; 135 a;