mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
freestanding: malloc/free with mm_alloc an mm_free
Added more array support that depends on malloc. Added string clone (that uses malloc). Added test for it. Eliminated stack allocated buffers from most of the unit checks.
This commit is contained in:

committed by
Alexander Medvednikov

parent
6ec626c5e9
commit
8178e1f7da
@ -219,6 +219,10 @@ bare_c_headers = '
|
||||
#define TCCSKIP(x)
|
||||
#endif
|
||||
|
||||
#ifndef EMPTY_STRUCT_INITIALIZATION
|
||||
#define EMPTY_STRUCT_INITIALIZATION 0
|
||||
#endif
|
||||
|
||||
#ifndef exit
|
||||
#define exit(rc) sys_exit(rc)
|
||||
void sys_exit (int);
|
||||
|
Reference in New Issue
Block a user