med_vargs.h
Aller à la documentation de ce fichier.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef MED_VARGS
00020 #define MED_VARGS
00021
00022 #include "med_config.h"
00023
00024 #ifdef PPRO_NT
00025
00026 #define MED_VARGS_DECL(cst1,type,cst2,varname) type varname
00027 #define MED_VARGS_DEF(cst1,type,cst2,varname) varname = va_arg(params, cst1 type cst2)
00028
00029 #elif HAVE_CC_C99 || defined(__STDC__)
00030
00031 #define MED_VARGS_DECL(cst1,type,cst2,varname)
00032 #define MED_VARGS_DEF(cst1,type,cst2,varname) cst1 type cst2 varname = va_arg(params, cst1 type cst2)
00033
00034 #endif
00035
00036 #endif
00037