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 eb38dd5 was
eb38dd5,
checked in by Thierry Delisle <tdelisle@…>, 8 years ago
|
vectors have almost no bugs left
|
-
Property mode set to
100644
|
File size:
318 bytes
|
Rev | Line | |
---|
[d67a9a1] | 1 | #pragma once |
---|
| 2 | |
---|
| 3 | #include <stddef.h> |
---|
| 4 | #include <stdint.h> |
---|
| 5 | |
---|
[c44e622] | 6 | #include "vector.h" |
---|
| 7 | /* |
---|
[d67a9a1] | 8 | typedef intptr_t* worklist_element_t; |
---|
| 9 | |
---|
| 10 | struct worklist_t |
---|
| 11 | { |
---|
| 12 | size_t count; |
---|
| 13 | worklist_element_t* data; |
---|
| 14 | }; |
---|
| 15 | |
---|
| 16 | void push_back(worklist_t* worklist, worklist_element_t element); |
---|
[c44e622] | 17 | */ |
---|
| 18 | |
---|
[eb38dd5] | 19 | typedef vector(intptr_t*, heap_allocator(intptr_t*)) worklist_t; |
---|
Note: See
TracBrowser
for help on using the repository browser.