X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=includes%2Fstdarg.h;h=5d2270535968835b6d685a56cde6011d40adce93;hb=5f75278ec2ac5240da801193a7b0cf93cb02e461;hp=e0943329010533346d95ddca7865444bf57ac07b;hpb=9240ade77991f36f5584e90d7233182401c77614;p=pdclib.old diff --git a/includes/stdarg.h b/includes/stdarg.h index e094332..5d22705 100644 --- a/includes/stdarg.h +++ b/includes/stdarg.h @@ -13,7 +13,7 @@ // ---------------------------------------------------------------------------- // TYPEDEFS -typedef do-type va_list; +typedef do-type va_list; // TODO // ---------------------------------------------------------------------------- // MACROS @@ -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