diff options
author | Aleksey Veresov <aleksey@veresov.pro> | 2021-01-04 17:43:58 +0300 |
---|---|---|
committer | Aleksey Veresov <aleksey@veresov.pro> | 2021-01-04 17:43:58 +0300 |
commit | e96facabd92d3eb61a4f97dfc3436a34dae4812d (patch) | |
tree | dd8a027de2a61c005b08cde06bc682895aa71ddf /src | |
parent | fa6a4104b04aa7834fdafc3aca9b479605445ca7 (diff) | |
download | csx-e96facabd92d3eb61a4f97dfc3436a34dae4812d.tar csx-e96facabd92d3eb61a4f97dfc3436a34dae4812d.tar.xz csx-e96facabd92d3eb61a4f97dfc3436a34dae4812d.zip |
Example improved.
Diffstat (limited to 'src')
-rw-r--r-- | src/csx.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -97,6 +97,7 @@ int *csx_int(int num) } int *res = new(type_int, sizeof(int)); *res = num; + ints = new_pair(res, ints); return res; } @@ -441,6 +442,8 @@ static void new_context() static void init() { initiated = 1; + setbuf(stdin, 0); + setbuf(stdout, 0); null = new(type_null, 0); names = null; ints = null; |