3 /* Decomposed printf argument list.
4 Copyright (C) 1999, 2002-2003 Free Software Foundation, Inc.
6 This program is free software; you can redistribute it and/or modify it
7 under the terms of the GNU Library General Public License as published
8 by the Free Software Foundation; either version 2, or (at your option)
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 Library General Public License for more details.
16 You should have received a copy of the GNU Library General Public
17 License along with this program; if not, write to the Free Software
18 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
21 #ifndef _PRINTF_ARGS_H
22 #define _PRINTF_ARGS_H
58 #ifdef HAVE_LONG_DOUBLE
70 TYPE_COUNT_SCHAR_POINTER
,
71 TYPE_COUNT_SHORT_POINTER
,
72 TYPE_COUNT_INT_POINTER
,
73 TYPE_COUNT_LONGINT_POINTER
75 , TYPE_COUNT_LONGLONGINT_POINTER
79 /* Polymorphic argument */
86 unsigned char a_uchar
;
88 unsigned short a_ushort
;
92 unsigned long int a_ulongint
;
94 long long int a_longlongint
;
95 unsigned long long int a_ulonglongint
;
99 #ifdef HAVE_LONG_DOUBLE
100 long double a_longdouble
;
106 const char* a_string
;
108 const wchar_t* a_wide_string
;
111 signed char * a_count_schar_pointer
;
112 short * a_count_short_pointer
;
113 int * a_count_int_pointer
;
114 long int * a_count_longint_pointer
;
115 #ifdef HAVE_LONG_LONG
116 long long int * a_count_longlongint_pointer
;
131 /* Fetch the arguments, putting them into a. */
137 int printf_fetchargs (va_list args
, arguments
*a
);
139 #endif /* _PRINTF_ARGS_H */