X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=includes%2Fstdarg.h;fp=includes%2Fstdarg.h;h=7558131fbb28e3404a258f1e3eb23ae3fd93a0d6;hb=4c805021b487dff9bfc6341c998ba99636416ae7;hp=0000000000000000000000000000000000000000;hpb=a1bf72a143e4756b80c8306e6eef3deee215546c;p=pdclib diff --git a/includes/stdarg.h b/includes/stdarg.h new file mode 100644 index 0000000..7558131 --- /dev/null +++ b/includes/stdarg.h @@ -0,0 +1,27 @@ +/* $Id$ */ + +/* Release $Name$ */ + +/* 7.15 Variable arguments + + 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 + +#ifndef _PDCLIB_CONFIG_H +#define _PDCLIB_CONFIG_H _PDCLIB_CONFIG_H +#include <_PDCLIB_config.h> +#endif + +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 ) + +#endif +