Rev 1054 | Rev 1769 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1054 | Rev 1595 | ||
---|---|---|---|
Line 42... | Line 42... | ||
42 | ((ap) = (va_list)&(lst) + sizeof(lst)) |
42 | ((ap) = (va_list)&(lst) + sizeof(lst)) |
43 | 43 | ||
44 | #define va_arg(ap, type) \ |
44 | #define va_arg(ap, type) \ |
45 | (((type *)((ap) = (va_list)( (sizeof(type) <= 4) ? ((__address)((ap) + 2*4 - 1) & (~3)) : ((__address)((ap) + 2*8 -1) & (~7)) )))[-1]) |
45 | (((type *)((ap) = (va_list)( (sizeof(type) <= 4) ? ((__address)((ap) + 2*4 - 1) & (~3)) : ((__address)((ap) + 2*8 -1) & (~7)) )))[-1]) |
46 | 46 | ||
- | 47 | #define va_copy(dst,src) ((dst)=(src)) |
|
- | 48 | ||
47 | #define va_end(ap) |
49 | #define va_end(ap) |
48 | 50 | ||
49 | #endif |
51 | #endif |