Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)
|
Internal header for Struct. More...
Go to the source code of this file.
Data Structures | |
struct | RStruct |
Macros | |
#define | RSTRUCT(obj) ((struct RStruct *)(obj)) |
#define | RSTRUCT_LEN internal_RSTRUCT_LEN |
#define | RSTRUCT_SET internal_RSTRUCT_SET |
#define | RSTRUCT_GET internal_RSTRUCT_GET |
Enumerations | |
enum | { RSTRUCT_EMBED_LEN_MAX = RVALUE_EMBED_LEN_MAX , RSTRUCT_EMBED_LEN_MASK = (RUBY_FL_USER2|RUBY_FL_USER1) , RSTRUCT_EMBED_LEN_SHIFT = (RUBY_FL_USHIFT+1) , RSTRUCT_TRANSIENT_FLAG = FL_USER3 } |
Functions | |
VALUE | rb_struct_init_copy (VALUE copy, VALUE s) |
VALUE | rb_struct_lookup (VALUE s, VALUE idx) |
VALUE | rb_struct_s_keyword_init (VALUE klass) |
Internal header for Struct.
Definition in file struct.h.
anonymous enum |
Definition at line 1010 of file struct.c.
References len, OBJ_INIT_COPY, rb_eTypeError, rb_raise(), RSTRUCT_GET, RSTRUCT_LEN, and RSTRUCT_SET.
Referenced by InitVM_Struct().