Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)
Data Structures | Macros | Typedefs | Functions
builtin.h File Reference

Go to the source code of this file.

Data Structures

struct  rb_builtin_function
 
struct  builtin_binary
 

Macros

#define RB_BUILTIN_FUNCTION(_i, _name, _fname, _arity, _compiler)
 
#define rb_execution_context_t   rb_execution_context_t
 

Typedefs

typedef struct rb_execution_context_struct rb_execution_context_t
 

Functions

void rb_load_with_builtin_functions (const char *feature_name, const struct rb_builtin_function *table)
 
VALUE rb_vm_lvar_exposed (rb_execution_context_t *ec, int index)
 

Macro Definition Documentation

◆ RB_BUILTIN_FUNCTION

#define RB_BUILTIN_FUNCTION (   _i,
  _name,
  _fname,
  _arity,
  _compiler 
)
Value:
{\
.name = #_name, \
.func_ptr = (void *)_fname, \
.argc = _arity, \
.index = _i, \
.compiler = _compiler, \
}
int argc
Definition: ruby.c:240

Definition at line 19 of file builtin.h.

◆ rb_execution_context_t

Definition at line 31 of file builtin.h.

Typedef Documentation

◆ rb_execution_context_t

Definition at line 30 of file builtin.h.

Function Documentation

◆ rb_load_with_builtin_functions()

void rb_load_with_builtin_functions ( const char *  feature_name,
const struct rb_builtin_function table 
)

◆ rb_vm_lvar_exposed()

VALUE rb_vm_lvar_exposed ( rb_execution_context_t ec,
int  index 
)