Ruby  3.1.0dev(2021-09-10revisionb76ad15ed0da636161de0243c547ee1e6fc95681)
Data Structures | Macros | Typedefs | Functions
builtin.h File Reference

(b76ad15ed0da636161de0243c547ee1e6fc95681)

This graph shows which files directly or indirectly include this file:

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, \
}

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 
)

Definition at line 36 of file builtin.c.

References bin, and size.

Referenced by Init_builtin_features().

◆ rb_vm_lvar_exposed()

VALUE rb_vm_lvar_exposed ( rb_execution_context_t ec,
int  index 
)
argc
int argc
Definition: ruby.c:242