Ruby: include/ruby/backward/2/stdarg.h Source File

Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)

stdarg.h
Go to the documentation of this file.
1#ifndef RUBY_BACKWARD2_STDARG_H /*-*-C++-*-vi:se ft=cpp:*/
2#define RUBY_BACKWARD2_STDARG_H
27#undef _
28#ifdef HAVE_PROTOTYPES
29# define _(args) args
30#else
31# define _(args) ()
32#endif
33
34#undef __
35#ifdef HAVE_STDARG_PROTOTYPES
36# define __(args) args
37#else
38# define __(args) ()
39#endif
40
41#ifdef __cplusplus
42#define ANYARGS ...
43#else
44#define ANYARGS
45#endif
46
47#endif /* RUBY_BACKWARD2_STDARG_H */