mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 20:11:17 +00:00
0.5.3: Single-module not respected. Fix issue with compiler defined types. Fix optimization levels for projects. Use GEP i8 on offsets. Optimize foreach on len 1 arrays. Move panic blocks last. Fix generic module wildcard imports. Deprecate init_temp / init_new. Fix issue with macro vaarg and untyped lists. Fix extern const globals.
This commit is contained in:
committed by
Christoffer Lerno
parent
e91f6e268e
commit
deb4cc7c4b
@@ -27,7 +27,7 @@ fn void! readbuffer()
|
||||
reader_buf.init(&src, buf[..]);
|
||||
|
||||
ByteWriter bw;
|
||||
bw.init_temp();
|
||||
bw.temp_init();
|
||||
|
||||
usz n = io::copy_to(&reader_buf, &bw)!;
|
||||
|
||||
@@ -39,7 +39,7 @@ fn void! readbuffer()
|
||||
fn void! writebuffer_large()
|
||||
{
|
||||
ByteWriter out;
|
||||
out.init_temp();
|
||||
out.temp_init();
|
||||
char[16] buf;
|
||||
WriteBuffer write_buf;
|
||||
write_buf.init(&out, buf[..]);
|
||||
@@ -56,7 +56,7 @@ fn void! writebuffer()
|
||||
ByteReader br;
|
||||
br.init(DATA);
|
||||
ByteWriter out;
|
||||
out.init_temp();
|
||||
out.temp_init();
|
||||
char[3] buf;
|
||||
WriteBuffer write_buf;
|
||||
write_buf.init(&out, buf[..]);
|
||||
|
||||
Reference in New Issue
Block a user