Created
August 22, 2009 17:41
-
-
Save methodmissing/172890 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #define ROBJECT_EMBED_LEN_MAX 3 | |
| struct RObject { | |
| struct RBasic basic; | |
| union { | |
| struct { | |
| long numiv; | |
| VALUE *ivptr; | |
| struct st_table *iv_index_tbl; /* shortcut for RCLASS_IV_INDEX_TBL(rb_obj_class(obj)) */ | |
| } heap; | |
| VALUE ary[ROBJECT_EMBED_LEN_MAX]; | |
| } as; | |
| }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment