mes/lib/mes
Jan (janneke) Nieuwenhuizen 0ca159041d
mescc: Mes C Library: Prepare for M2-Planet: __assert_fail.
Rewrite C-constructs not supported by M2-Planet, such as

    foo ? bar : baz;       -> if (foo) bar; else baz;
    static char foo[1024]  -> __func_buf = malloc (1024); ... char *foo = __func_buf;
    *foo                   -> foo[0]
    foo++                  -> foo = foo + 1   TODO: pointer arithmetic
    foo += 1;              -> foo = foo + 1
    for (int foo = ;       -> int foo; for (foo=
    if (foo)               -> if (foo != 0)
    if (!foo)              -> if (foo == 0)
    ;                      -> 0;

* lib/mes/__assert_fail.c: Rewrite C-constructs not supported by
M2-Planet.
2020-05-17 19:27:27 +02:00
..
__assert_fail.c mescc: Mes C Library: Prepare for M2-Planet: __assert_fail. 2020-05-17 19:27:27 +02:00
__buffered_read.c mescc: Mes C Library: lseek: Be careful clearing read buffer. 2020-01-20 22:47:52 +01:00
__mes_debug.c build: Simplify. 2019-06-08 15:36:22 +02:00
abtod.c mescc: Mes C Library: Support GNU Awk: Add abtod, implementing strtod. 2019-06-25 12:51:44 +02:00
abtol.c mescc: Mes C Library: Support GNU Awk: Add abtod, implementing strtod. 2019-06-25 12:51:44 +02:00
assert_msg.c mescc: Mes C Library: Add assert_msg. 2020-04-19 15:57:06 +02:00
div.c mescc: Mes C Library: div: Avoid __raise for TinyCC. 2021-01-23 08:43:41 +01:00
dtoab.c Fix dtoab. 2019-08-27 00:43:37 +02:00
eputc.c mescc: Mes C Library: Cleanup includes. 2019-05-08 00:25:41 +02:00
eputs.c mescc: Mes C Library: Support gcc-10. 2020-10-06 13:13:44 +02:00
fdgetc.c mescc: Mes C Library: Add buffered read. 2019-07-27 22:58:49 +02:00
fdgets.c build: Simplify. 2019-06-08 15:36:22 +02:00
fdputc.c mes: Run build-aux/indent.sh. 2019-05-18 13:27:42 +02:00
fdputs.c build: Simplify. 2019-06-08 15:36:22 +02:00
fdungetc.c build: Simplify. 2019-06-08 15:36:22 +02:00
globals.c mescc: Mes C Library: Support gcc-10. 2020-10-06 13:13:44 +02:00
itoa.c mescc: Mes C Library: Cleanup includes. 2019-05-08 00:25:41 +02:00
ltoa.c mescc: Mes C Library: Cleanup includes. 2019-05-08 00:25:41 +02:00
ltoab.c mescc: Mes C Library: Cleanup includes. 2019-05-08 00:25:41 +02:00
mes_open.c build: Simplify. 2019-06-08 15:36:22 +02:00
mini-write.c bootstrap: Build files only once. 2019-12-07 23:29:34 +01:00
ntoab.c mescc: Mes C Library: ntoab: Use unsigned base. 2020-12-13 22:19:06 +01:00
oputc.c mescc: Mes C Library: Cleanup includes. 2019-05-08 00:25:41 +02:00
oputs.c mescc: Mes C Library: Support gcc-10. 2020-10-06 13:13:44 +02:00
search-path.c build: Simplify. 2019-06-08 15:36:22 +02:00
ultoa.c mescc: Mes C Library: Cleanup includes. 2019-05-08 00:25:41 +02:00
utoa.c mescc: Mes C Library: Cleanup includes. 2019-05-08 00:25:41 +02:00