Ruby
3.1.0dev(2021-09-10revisionb76ad15ed0da636161de0243c547ee1e6fc95681)
|
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 1041 of file struct.c.
References len, OBJ_INIT_COPY, rb_eTypeError, rb_raise(), RSTRUCT_GET, RSTRUCT_LEN, and RSTRUCT_SET.