ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsctordeferred_resndemanglerenumforall-pointer-decaygc_noraiijacob/cs343-translationjenkins-sandboxmemorynew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newwith_gc
Last change
on this file since a2b2761 was
a2b2761,
checked in by Thierry Delisle <tdelisle@…>, 9 years ago
|
moved files src dir and added cofigurations to run preprocessor on cfiles
|
-
Property mode set to
100644
|
File size:
404 bytes
|
Line | |
---|
1 | #pragma once |
---|
2 | |
---|
3 | #include <stddef.h> |
---|
4 | #include <stdint.h> |
---|
5 | |
---|
6 | #include "tools.h" |
---|
7 | |
---|
8 | static const void* CANARY_VALUE = (void*)0xCAFEBABACAFEBABA; |
---|
9 | |
---|
10 | struct gcpointer_t; |
---|
11 | |
---|
12 | struct gc_object_header |
---|
13 | { |
---|
14 | #if _DEBUG |
---|
15 | void* canary_start; |
---|
16 | #endif |
---|
17 | |
---|
18 | size_t size; |
---|
19 | gcpointer_t* root_chain; |
---|
20 | gcpointer_t* type_chain; |
---|
21 | struct gc_object_header* forward; |
---|
22 | bool is_forwarded; |
---|
23 | |
---|
24 | #if _DEBUG |
---|
25 | void* canary_end; |
---|
26 | #endif |
---|
27 | }; |
---|
Note: See
TracBrowser
for help on using the repository browser.