X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;ds=sidebyside;f=stdarg.h;fp=stdarg.h;h=44ad5ac7b5efed6edfd1ad0c682154161b0cf5fb;hb=fe2ffa3779dbc1ad31d15037e50d3d110341a159;hp=0000000000000000000000000000000000000000;hpb=037d49a62448bcf80cce678470e2f2fef819d6c5;p=pdclib.old diff --git a/stdarg.h b/stdarg.h new file mode 100644 index 0000000..44ad5ac --- /dev/null +++ b/stdarg.h @@ -0,0 +1,24 @@ +#ifndef _PDCLIB_STDARG_H +#define _PDCLIB_STDARG_H _PDCLIB_STDARG_H + +/* $Id$ */ + +/* 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_DEFS_H +#define _PDCLIB_DEFS_H _PDCLIB_DEFS_H +#include <_PDCLIB_defs.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