X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;ds=sidebyside;f=includes%2Fstdarg.h;h=4c40142d1f05ec7f7a59dbd97197213c5375ee06;hb=54a2869bd13882c5e3b2417569709cd490cfcf3f;hp=e0943329010533346d95ddca7865444bf57ac07b;hpb=0a5395faab237ba9008352b0f4bee9659bbd3d5f;p=pdclib diff --git a/includes/stdarg.h b/includes/stdarg.h index e094332..4c40142 100644 --- a/includes/stdarg.h +++ b/includes/stdarg.h @@ -23,9 +23,7 @@ typedef do-type va_list; #define va_end( va_list ap ) // TODO #define va_start( va_list ap, last-par ) // TODO -/* -From PDPClib: - +/* PDPC code - unreviewed #define va_start(ap, parmN) ap = (char *)&parmN + 4 #define va_arg(ap, type) *(type *)(ap += sizeof(type), ap - sizeof(type)) #define va_end(ap) ap = 0