Mercurial > repos > rhope
comparison runtime/object.h @ 163:9fab36cc706b
Add Raw Size method to blueprint to allow code to query the raw size of a type in bytes
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Sun, 09 Jan 2011 23:03:30 -0500 |
parents | a68e6828d896 |
children | ba35ab624ec2 |
comparison
equal
deleted
inserted
replaced
162:bac2c74801f0 | 163:9fab36cc706b |
---|---|
25 uint32_t last_setfieldid; | 25 uint32_t last_setfieldid; |
26 uint32_t first_convertto; | 26 uint32_t first_convertto; |
27 uint32_t last_convertto; | 27 uint32_t last_convertto; |
28 uint32_t first_convertfrom; | 28 uint32_t first_convertfrom; |
29 uint32_t last_convertfrom; | 29 uint32_t last_convertfrom; |
30 int32_t size; | 30 int32_t size; |
31 int32_t boxed_size; | 31 int32_t boxed_size; |
32 } blueprint; | 32 } blueprint; |
33 | 33 |
34 struct object { | 34 struct object { |
35 rh_atomic32(refcount); | 35 rh_atomic32(refcount); |
36 blueprint *bprint; | 36 blueprint *bprint; |