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., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
19 #ifndef _PRINTF_ARGS_H
20 #define _PRINTF_ARGS_H
52 #ifdef HAVE_INT64_AND_I64
57 #ifdef HAVE_LONG_DOUBLE
69 TYPE_COUNT_SCHAR_POINTER,
70 TYPE_COUNT_SHORT_POINTER,
71 TYPE_COUNT_INT_POINTER,
72 TYPE_COUNT_LONGINT_POINTER
74 , TYPE_COUNT_LONGLONGINT_POINTER
78 /* Polymorphic argument */
85 unsigned char a_uchar;
87 unsigned short a_ushort;
91 unsigned long int a_ulongint;
93 long long int a_longlongint;
94 unsigned long long int a_ulonglongint;
96 #ifdef HAVE_INT64_AND_I64
98 unsigned __int64 a_uint64;
102 #ifdef HAVE_LONG_DOUBLE
103 long double a_longdouble;
109 const char* a_string;
111 const wchar_t* a_wide_string;
114 signed char * a_count_schar_pointer;
115 short * a_count_short_pointer;
116 int * a_count_int_pointer;
117 long int * a_count_longint_pointer;
118 #ifdef HAVE_LONG_LONG
119 long long int * a_count_longlongint_pointer;
134 /* Fetch the arguments, putting them into a. */
140 int printf_fetchargs (va_list args, arguments *a);
142 #endif /* _PRINTF_ARGS_H */