ADT
aaron-thesis
arm-eh
ast-experimental
cleanup-dtors
ctor
deferred_resn
demangler
enum
forall-pointer-decay
gc_noraii
jacob/cs343-translation
jenkins-sandbox
memory
new-ast
new-ast-unique-expr
new-env
no_list
persistent-indexer
pthread-emulation
qualifiedEnum
resolv-new
with_gc
|
Last change
on this file since 15db1ab was 15db1ab, checked in by Thierry Delisle <tdelisle@…>, 10 years ago |
|
added some files for the garbage collector and hack together the compilation
|
-
Property mode
set to
100644
|
|
File size:
573 bytes
|
| Line | |
|---|
| 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.