cgen: fix c2v consts; enum_decl()

This commit is contained in:
Alexander Medvednikov 2022-05-07 00:58:14 +03:00
parent 621574c12a
commit 14f06ead1b
2 changed files with 43 additions and 29 deletions

View file

@ -71,6 +71,9 @@ fn C.fclose(stream &C.FILE) int
fn C.pclose(stream &C.FILE) int
fn C.strrchr(s &char, c int) &char
fn C.strchr(s &char, c int) &char
// process execution, os.process:
[trusted]
fn C.getpid() int