1 /* Decomposed printf argument list.
2 Copyright (C) 1999, 2002-2003, 2006-2007 Free Software Foundation, Inc.
4 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 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
12 GNU General Public License for more details.
14 You should have received a copy of the GNU General Public License along
15 with this program; if not, write to the Free Software Foundation,
16 Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
18 #ifndef _PRINTF_ARGS_H
19 #define _PRINTF_ARGS_H
50 #if HAVE_LONG_LONG_INT
67 TYPE_COUNT_SCHAR_POINTER,
68 TYPE_COUNT_SHORT_POINTER,
69 TYPE_COUNT_INT_POINTER,
70 TYPE_COUNT_LONGINT_POINTER
71 #if HAVE_LONG_LONG_INT
72 , TYPE_COUNT_LONGLONGINT_POINTER
76 /* Polymorphic argument */
83 unsigned char a_uchar;
85 unsigned short a_ushort;
89 unsigned long int a_ulongint;
90 #if HAVE_LONG_LONG_INT
91 long long int a_longlongint;
92 unsigned long long int a_ulonglongint;
97 long double a_longdouble;
103 const char* a_string;
105 const wchar_t* a_wide_string;
108 signed char * a_count_schar_pointer;
109 short * a_count_short_pointer;
110 int * a_count_int_pointer;
111 long int * a_count_longint_pointer;
112 #if HAVE_LONG_LONG_INT
113 long long int * a_count_longlongint_pointer;
128 /* Fetch the arguments, putting them into a. */
134 int printf_fetchargs (va_list args, arguments *a);
136 #endif /* _PRINTF_ARGS_H */