Ruby: include/ruby/internal Directory Reference

Ruby 4.0.5p0 (2026-05-20 revision 64336ffd0ee9e1f4c05891695a3d7b49cb709721)

internal Directory Reference

## Directories
| arithmetic
| attr
| compiler_is
| core
| encoding
| has
| intern

## Files
| abi.h
| anyargs.h
| Function overloads to issue warnings around ANYARGS.
| arithmetic.h
| Conversion between C's arithmetic types and Ruby's numeric types.
| assume.h
| Defines RBIMPL_ASSUME / #RBIMPL_UNREACHABLE.
| cast.h
| compiler_is.h
| Defines RBIMPL_COMPILER_IS.
| compiler_since.h
| Defines RBIMPL_COMPILER_SINCE.
| config.h
| constant_p.h
| Defines RBIMPL_CONSTANT_P.
| core.h
| Core data structures, definitions and manipulations.
| ctype.h
| Our own, locale independent, character handling routines.
| dllexport.h
| Tweaking visibility of C variables/functions.
| dosish.h
| Support for so-called dosish systems.
| error.h
| Declares rb_raise().
| eval.h
| Declares rb_eval_string().
| event.h
| Debugging and tracing APIs.
| fl_type.h
| Defines enum ruby_fl_type.
| gc.h
| Registering values to the GC.
| glob.h
| Declares rb_glob().
| globals.h
| Ruby-level global variables / constants, visible from C.
| interpreter.h
| Interpreter embedding APIs.
| iterator.h
| Block related APIs.
| memory.h
| Memory management stuff.
| method.h
| Creation and modification of Ruby methods.
| module.h
| Creation and modification of Ruby modules.
| newobj.h
| Defines #NEWOBJ.
| scan_args.h
| Compile-time static implementation of rb_scan_args().
| special_consts.h
| Defines enum ruby_special_consts.
| static_assert.h
| Defines RBIMPL_STATIC_ASSERT.
| stdalign.h
| Defines RBIMPL_ALIGNAS / RBIMPL_ALIGNOF.
| stdbool.h
| C99 shim for <stdbool.h>.
| stdckdint.h
| symbol.h
| Defines rb_intern.
| value.h
| Defines VALUE and ID.
| value_type.h
| Defines enum ruby_value_type.
| variable.h
| Declares rb_define_variable().
| warning_push.h
| Defines RBIMPL_WARNING_PUSH.
| xmalloc.h
| Declares ruby_xmalloc().