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 8c8b614 was
385c130,
checked in by Thierry Delisle <tdelisle@…>, 8 years ago
|
pre merge
|
-
Property mode set to
100644
|
File size:
596 bytes
|
Line | |
---|
1 | #pragma once |
---|
2 | |
---|
3 | #include <stdint.h> |
---|
4 | |
---|
5 | struct gcpointer_t |
---|
6 | { |
---|
7 | intptr_t ptr; |
---|
8 | struct gcpointer_t* next; |
---|
9 | }; |
---|
10 | |
---|
11 | void gcpointer_ctor(gcpointer_t* this); |
---|
12 | void gcpointer_ctor(gcpointer_t* ptr, int null); |
---|
13 | void gcpointer_ctor(gcpointer_t* this, void* address); |
---|
14 | void gcpointer_ctor(gcpointer_t* this, gcpointer_t* other); |
---|
15 | |
---|
16 | void gcpointer_dtor(gcpointer_t* this); |
---|
17 | |
---|
18 | gcpointer_t* gcpointer_assign(gcpointer_t* this, gcpointer_t* rhs); |
---|
19 | |
---|
20 | //Logical operators |
---|
21 | int gcpointer_equal(gcpointer_t* this, gcpointer_t* rhs); |
---|
22 | int gcpointer_not_equal(gcpointer_t* this, gcpointer_t* rhs); |
---|
23 | int gcpointer_null(gcpointer_t* this); |
---|
Note: See
TracBrowser
for help on using the repository browser.