1 /* Decomposed printf argument list.
2 Copyright (C) 1999, 2002-2003 Free Software Foundation, Inc.
4 This program is free software; you can redistribute it and/or modify it
5 under the terms of the GNU Library General Public License as published
6 by the Free Software Foundation; either version 2, or (at your option)
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 Library General Public License for more details.
14 You should have received a copy of the GNU Library General Public
15 License along with this program; if not, write to the Free Software
16 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
19 #ifndef _PRINTF_ARGS_H
20 #define _PRINTF_ARGS_H
56 #ifdef HAVE_LONG_DOUBLE
68 TYPE_COUNT_SCHAR_POINTER
,
69 TYPE_COUNT_SHORT_POINTER
,
70 TYPE_COUNT_INT_POINTER
,
71 TYPE_COUNT_LONGINT_POINTER
73 , TYPE_COUNT_LONGLONGINT_POINTER
77 /* Polymorphic argument */
84 unsigned char a_uchar
;
86 unsigned short a_ushort
;
90 unsigned long int a_ulongint
;
92 long long int a_longlongint
;
93 unsigned long long int a_ulonglongint
;
97 #ifdef HAVE_LONG_DOUBLE
98 long double a_longdouble
;
104 const char* a_string
;
106 const wchar_t* a_wide_string
;
109 signed char * a_count_schar_pointer
;
110 short * a_count_short_pointer
;
111 int * a_count_int_pointer
;
112 long int * a_count_longint_pointer
;
113 #ifdef HAVE_LONG_LONG
114 long long int * a_count_longlongint_pointer
;
129 /* Fetch the arguments, putting them into a. */
135 int printf_fetchargs (va_list args
, arguments
*a
);
137 #endif /* _PRINTF_ARGS_H */