diff options
| author | Quentin Carbonneaux <[email protected]> | 2016-08-14 21:57:27 -0700 |
|---|---|---|
| committer | Quentin Carbonneaux <[email protected]> | 2016-08-15 22:55:08 -0700 |
| commit | 3f8af2ba7b8f79bd577ca4f2fef5fb922494042d (patch) | |
| tree | a24214b9ad4e601182cf75e947893c0f93367ef3 /all.h | |
| parent | 5ad8a2c6fe90554bb6ad425597be732328fe0e41 (diff) | |
specify the allocation function in vnew
Diffstat (limited to 'all.h')
| -rw-r--r-- | all.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -485,7 +485,8 @@ void emit(int, int, Ref, Ref, Ref); void emiti(Ins); void idup(Ins **, Ins *, ulong); Ins *icpy(Ins *, Ins *, ulong); -void *vnew(ulong, size_t); +void *vnew(ulong, size_t, void *(size_t)); +void vfree(void *); void vgrow(void *, ulong); int clsmerge(short *, short); int phicls(int, Tmp *); |
