summaryrefslogtreecommitdiff
path: root/include/ruby/encoding.h
diff options
context:
space:
mode:
author卜部昌平 <shyouhei@ruby-lang.org>2021-10-26 09:24:56 +0900
committer卜部昌平 <shyouhei@ruby-lang.org>2021-10-26 09:30:12 +0900
commita0029ae2b68cec3a4cb298967afbc9192d331c10 (patch)
tree80737db700b2bda633b598319a6ac0413a507a9f /include/ruby/encoding.h
parentb49ec78fd02836d4db4807fcdc86886138927c70 (diff)
just another evidence that @shyouhei is an idiot [ci skip]
(gdb) ptype/o struct RString /* offset | size */ type = struct RString { /* 0 | 16 */ struct RBasic { /* 0 | 8 */ VALUE flags; /* 8 | 8 */ const VALUE klass; /* total size (bytes): 16 */ } basic; /* 16 | 24 */ union { /* 24 */ struct { /* 16 | 8 */ long len; /* 24 | 8 */ char *ptr; /* 32 | 8 */ union { /* 8 */ long capa; /* 8 */ VALUE shared; /* total size (bytes): 8 */ } aux; /* total size (bytes): 24 */ } heap; /* 24 */ struct { /* 16 | 24 */ char ary[24]; /* total size (bytes): 24 */ } embed; /* XXX 8-byte padding */ /* total size (bytes): 24 */ } as; /* total size (bytes): 40 */ } (gdb)
Diffstat (limited to 'include/ruby/encoding.h')
0 files changed, 0 insertions, 0 deletions