1#ifndef BUILTIN_H_INCLUDED
2#define BUILTIN_H_INCLUDED
8 const void *
const func_ptr;
13 const char *
const name;
16 void (*compiler)(
VALUE, long, unsigned, bool);
19#define RB_BUILTIN_FUNCTION(_i, _name, _fname, _arity, _compiler) {\
20 .name = _i < 0 ? NULL : #_name, \
21 .func_ptr = (void *)_fname, \
24 .compiler = _compiler, \
27void rb_load_with_builtin_functions(
const char *feature_name,
const struct rb_builtin_function *table);
29#ifndef rb_execution_context_t
31#define rb_execution_context_t rb_execution_context_t
70 VALUE,
VALUE,
VALUE,
VALUE,
VALUE,
VALUE,
VALUE,
VALUE,
VALUE,
VALUE,
VALUE);
72 VALUE,
VALUE,
VALUE,
VALUE,
VALUE,
VALUE,
VALUE,
VALUE,
VALUE,
VALUE,
VALUE,
VALUE);
74 VALUE,
VALUE,
VALUE,
VALUE,
VALUE,
VALUE,
VALUE,
VALUE,
VALUE,
VALUE,
VALUE,
VALUE,
VALUE);
76 VALUE,
VALUE,
VALUE,
VALUE,
VALUE,
VALUE,
VALUE,
VALUE,
VALUE,
VALUE,
VALUE,
VALUE,
VALUE,
VALUE);
78 VALUE,
VALUE,
VALUE,
VALUE,
VALUE,
VALUE,
VALUE,
VALUE,
VALUE,
VALUE,
VALUE,
VALUE,
VALUE,
VALUE,
VALUE);
79static inline void rb_builtin_function_check_arity0(rb_builtin_arity0_function_type f){}
80static inline void rb_builtin_function_check_arity1(rb_builtin_arity1_function_type f){}
81static inline void rb_builtin_function_check_arity2(rb_builtin_arity2_function_type f){}
82static inline void rb_builtin_function_check_arity3(rb_builtin_arity3_function_type f){}
83static inline void rb_builtin_function_check_arity4(rb_builtin_arity4_function_type f){}
84static inline void rb_builtin_function_check_arity5(rb_builtin_arity5_function_type f){}
85static inline void rb_builtin_function_check_arity6(rb_builtin_arity6_function_type f){}
86static inline void rb_builtin_function_check_arity7(rb_builtin_arity7_function_type f){}
87static inline void rb_builtin_function_check_arity8(rb_builtin_arity8_function_type f){}
88static inline void rb_builtin_function_check_arity9(rb_builtin_arity9_function_type f){}
89static inline void rb_builtin_function_check_arity10(rb_builtin_arity10_function_type f){}
90static inline void rb_builtin_function_check_arity11(rb_builtin_arity11_function_type f){}
91static inline void rb_builtin_function_check_arity12(rb_builtin_arity12_function_type f){}
92static inline void rb_builtin_function_check_arity13(rb_builtin_arity13_function_type f){}
93static inline void rb_builtin_function_check_arity14(rb_builtin_arity14_function_type f){}
94static inline void rb_builtin_function_check_arity15(rb_builtin_arity15_function_type f){}
106#if defined(VM_CORE_H_EC_DEFINED) && VM_CORE_H_EC_DEFINED
107 return ec->cfp->ep[index];
109 return rb_vm_lvar_exposed(ec, index);
117 const unsigned char *bin;
uintptr_t VALUE
Type that represents a Ruby object.