X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=includes%2Fstdarg.h;h=202d37274a5070521b41fa153b9222e3d4b20d1a;hb=3862b03514c94f37966f61693619e6483ead6045;hp=ab5529aa2b3527d108f8caebf90cc2b86fca93f5;hpb=3f035390c831709593428e88bb1c640604434d60;p=pdclib.old diff --git a/includes/stdarg.h b/includes/stdarg.h index ab5529a..202d372 100644 --- a/includes/stdarg.h +++ b/includes/stdarg.h @@ -1,15 +1,24 @@ -// ---------------------------------------------------------------------------- -// $Id$ -// ---------------------------------------------------------------------------- -// Public Domain C Library - http://pdclib.sourceforge.net -// This code is Public Domain. Use, modify, and redistribute at will. -// ---------------------------------------------------------------------------- -// TODO -// ---------------------------------------------------------------------------- +/* $Id$ */ -#ifndef __STDARG_H -#define __STDARG_H __STDARG_H +/* 7.15 Variable arguments -// TODO + This file is part of the Public Domain C Library (PDCLib). + Permission is granted to use, modify, and / or redistribute at will. +*/ + +#ifndef _PDCLIB_STDARG_H +#define _PDCLIB_STDARG_H _PDCLIB_STDARG_H +#include <_PDCLIB_aux.h> +#include <_PDCLIB_config.h> +_PDCLIB_BEGIN_EXTERN_C + +typedef _PDCLIB_va_list va_list; + +#define va_arg( ap, type ) _PDCLIB_va_arg( ap, type ) +#define va_copy( dest, src ) _PDCLIB_va_copy( dest, src ) +#define va_end( ap ) _PDCLIB_va_end( ap ) +#define va_start( ap, parmN ) _PDCLIB_va_start( ap, parmN ) + +_PDCLIB_END_EXTERN_C +#endif -#endif // __STDARG_H