Aegis  4.25.D505
common/ac/stdarg.h
Go to the documentation of this file.
00001 //
00002 //      aegis - project change supervisor
00003 //      Copyright (C) 1992-1994, 1996, 2002, 2005, 2006, 2008 Peter Miller
00004 //
00005 //      This program is free software; you can redistribute it and/or modify
00006 //      it under the terms of the GNU General Public License as published by
00007 //      the Free Software Foundation; either version 3 of the License, or
00008 //      (at your option) any later version.
00009 //
00010 //      This program is distributed in the hope that it will be useful,
00011 //      but WITHOUT ANY WARRANTY; without even the implied warranty of
00012 //      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013 //      GNU General Public License for more details.
00014 //
00015 //      You should have received a copy of the GNU General Public License
00016 //      along with this program. If not, see
00017 //      <http://www.gnu.org/licenses/>.
00018 //
00019 
00020 #ifndef COMMON_AC_STDARG_H
00021 #define COMMON_AC_STDARG_H
00022 
00023 //
00024 // This file contains insulation from whether <varargs.h> is being used
00025 // or whether <stdarg.h> is being used.  Incompatibilities are hidden behind
00026 // three macros:
00027 //      sva_last        - last argument in variable arg func defn
00028 //      sva_last_decl   - declaration for last arg
00029 //      sva_start       - hides whether nth is used or not
00030 // These macros are non-syntactic (ugh!) but they sure make things prettier.
00031 //
00032 // Do not directly include either <stdarg.h> or <varargs.h> in the code,
00033 // always use this header <s-v-arg.h> instead.
00034 //
00035 // Never refer directly to va_start, va_arg, or va_dcl directly in the code.
00036 // Direct references to va_list, va_arg and va_end are OK.
00037 //
00038 
00039 #include <common/config.h>
00040 #include <stdarg.h>
00041 
00042 #endif // COMMON_AC_STDARG_H