specify the allocation function in vnew
This commit is contained in:
parent
5ad8a2c6fe
commit
3f8af2ba7b
5 changed files with 30 additions and 12 deletions
3
all.h
3
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 *);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue