kit

kit
git clone https://git.ryansepassi.com/git/kit.git
Log | Files | Refs | README

stdarg.h (460B)


      1 /* stdarg.h -- C11 7.16 -- Variable arguments */
      2 #ifndef KIT_STDARG_H
      3 #define KIT_STDARG_H
      4 
      5 typedef __builtin_va_list va_list;
      6 
      7 #define va_start(ap, last) __builtin_va_start(ap, last)
      8 #define va_arg(ap, type) __builtin_va_arg(ap, type)
      9 #define va_end(ap) __builtin_va_end(ap)
     10 #define va_copy(dst, src) __builtin_va_copy(dst, src)
     11 
     12 /* Required in C11 for use with vprintf-family in <stdio.h>; harmless here. */
     13 typedef __builtin_va_list __gnuc_va_list;
     14 
     15 #endif