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

Ruby 4.0.5p0 (2026-05-20 revision 64336ffd0ee9e1f4c05891695a3d7b49cb709721)

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
26
27#undef _
32#ifdef HAVE_PROTOTYPES
33# define _(args) args
34#else
35# define _(args) ()
36#endif
37
38#undef __
43#ifdef HAVE_STDARG_PROTOTYPES
44# define __(args) args
45#else
46# define __(args) ()
47#endif
48
63#ifdef __cplusplus
64#define ANYARGS ...
65#else
66#define ANYARGS
67#endif
68
69#endif /* RUBY_BACKWARD2_STDARG_H */