Ruby  2.5.0dev(2017-10-22revision60238)
Data Fields
RString Struct Reference

#include <ruby.h>

Data Fields

struct RBasic basic
 
union {
   struct {
      long   len
 
      char *   ptr
 
      union {
         long   capa
 
         VALUE   shared
 
      }   aux
 
   }   heap
 
   char   ary [RSTRING_EMBED_LEN_MAX+1]
 
as
 

Detailed Description

Definition at line 954 of file ruby.h.

Field Documentation

◆ ary

char RString::ary[RSTRING_EMBED_LEN_MAX+1]

Definition at line 965 of file ruby.h.

Referenced by rb_struct_define(), rb_struct_define_under(), and rb_sym_all_symbols().

◆ as

union { ... } RString::as

◆ aux

union { ... } RString::aux

◆ basic

struct RBasic RString::basic

Definition at line 955 of file ruby.h.

◆ capa

long RString::capa

Definition at line 961 of file ruby.h.

Referenced by rb_str_change_terminator_length(), and rb_str_set_len().

◆ heap

struct { ... } RString::heap

◆ len

long RString::len

Definition at line 958 of file ruby.h.

◆ ptr

char* RString::ptr

◆ shared

VALUE RString::shared

Definition at line 962 of file ruby.h.

Referenced by rb_str_tmp_frozen_release().


The documentation for this struct was generated from the following file: