Ruby 3.4.5p51 (2025-07-16 revision 20cda200d3ce092571d0b5d342dadca69636cb0f)
|
Go to the source code of this file.
Macros | |
#define | _(args) |
This was a transition path from K&R to ANSI. | |
#define | __(args) |
This was a transition path from K&R to ANSI. | |
#define | ANYARGS ... |
Functions declared using this macro take arbitrary arguments, including void. |
Defines old _.
Nobody should ever use these macros any longer. No known compilers lack prototypes today. It's 21st century. Just forget them.
Definition in file stdarg.h.
#define _ | ( | args | ) |
This was a transition path from K&R to ANSI.
Definition at line 35 of file stdarg.h.
Referenced by rb_proc_times().
#define __ | ( | args | ) |
This was a transition path from K&R to ANSI.
#define ANYARGS ... |
Functions declared using this macro take arbitrary arguments, including void.
This was a necessary evil when there was no such thing like function overloading. But it is the 21st century today. People generally need not use this. Just use a granular typed function.
Definition at line 64 of file stdarg.h.
Referenced by rb_class_descendants(), rb_define_global_function(), rb_define_method(), rb_define_method_id(), rb_define_module_function(), rb_define_private_method(), rb_define_protected_method(), and rb_define_singleton_method().