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
stuck-waitfor-destruct
with_gc
|
Last change
on this file since eb38dd5 was eb38dd5, checked in by Thierry Delisle <tdelisle@…>, 10 years ago |
|
vectors have almost no bugs left
|
-
Property mode
set to
100644
|
|
File size:
318 bytes
|
| Line | |
|---|
| 1 | #pragma once
|
|---|
| 2 |
|
|---|
| 3 | #include <stddef.h>
|
|---|
| 4 | #include <stdint.h>
|
|---|
| 5 |
|
|---|
| 6 | #include "vector.h"
|
|---|
| 7 | /*
|
|---|
| 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);
|
|---|
| 17 | */
|
|---|
| 18 |
|
|---|
| 19 | typedef vector(intptr_t*, heap_allocator(intptr_t*)) worklist_t;
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.