Ruby 2.7.7p221 (2022-11-24 revision 168ec2b1e5ad0e4688e963d9de019557c78feed9)
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)
 

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)
 
 PUREFUNC (static inline VALUE rb_vm_lvar(rb_execution_context_t *ec, int index))
 

Macro Definition Documentation

◆ RB_BUILTIN_FUNCTION

#define RB_BUILTIN_FUNCTION (   _i,
  _name,
  _fname,
  _arity 
)
Value:
{ \
.name = #_name, \
.func_ptr = (void *)_fname, \
.argc = _arity, \
.index = _i \
}

Definition at line 16 of file builtin.h.

Typedef Documentation

◆ rb_execution_context_t

Definition at line 26 of file builtin.h.

Function Documentation

◆ PUREFUNC()

PUREFUNC ( static inline VALUE   rb_vm_lvarrb_execution_context_t *ec, int index)

◆ rb_load_with_builtin_functions()

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

Definition at line 39 of file builtin.c.

References iseq.

Referenced by Init_builtin_features().

◆ rb_vm_lvar_exposed()

VALUE rb_vm_lvar_exposed ( rb_execution_context_t ec,
int  index 
)