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 0ada2f0 was
15db1ab,
checked in by Thierry Delisle <tdelisle@…>, 8 years ago
|
added some files for the garbage collector and hack together the compilation
|
-
Property mode set to
100644
|
File size:
573 bytes
|
Rev | Line | |
---|
[15db1ab] | 1 | #pragma once |
---|
| 2 | |
---|
| 3 | struct gcpointer_t |
---|
| 4 | { |
---|
| 5 | void* ptr; |
---|
| 6 | struct gcpointer_t* next; |
---|
| 7 | }; |
---|
| 8 | |
---|
| 9 | void gcpointer_ctor(gcpointer_t* this); |
---|
| 10 | // void gcpointer_ctor(gcpointer_t* ptr, (int)0); |
---|
| 11 | void gcpointer_ctor(gcpointer_t* this, void* address); |
---|
| 12 | void gcpointer_ctor(gcpointer_t* this, gcpointer_t* other); |
---|
| 13 | |
---|
| 14 | void gcpointer_dtor(gcpointer_t* this); |
---|
| 15 | |
---|
| 16 | gcpointer_t* gcpointer_assign(gcpointer_t* this, gcpointer_t* rhs); |
---|
| 17 | |
---|
| 18 | //Logical operators |
---|
| 19 | int gcpointer_equal(gcpointer_t* this, gcpointer_t* rhs); |
---|
| 20 | int gcpointer_not_equal(gcpointer_t* this, gcpointer_t* rhs); |
---|
| 21 | int gcpointer_null(gcpointer_t* this); |
---|
Note: See
TracBrowser
for help on using the repository browser.