aboutsummaryrefslogtreecommitdiff
path: root/all.h
diff options
context:
space:
mode:
authorQuentin Carbonneaux <[email protected]>2016-08-14 21:57:27 -0700
committerQuentin Carbonneaux <[email protected]>2016-08-15 22:55:08 -0700
commit3f8af2ba7b8f79bd577ca4f2fef5fb922494042d (patch)
treea24214b9ad4e601182cf75e947893c0f93367ef3 /all.h
parent5ad8a2c6fe90554bb6ad425597be732328fe0e41 (diff)
specify the allocation function in vnew
Diffstat (limited to 'all.h')
-rw-r--r--all.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/all.h b/all.h
index 34ad47e..08056c4 100644
--- a/all.h
+++ b/all.h
@@ -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 *);