project_files/hwc/rtl/tests/check_check.h
author sheepluva
Mon, 05 Aug 2019 00:20:45 +0200
changeset 15295 f382ec6dba11
parent 7983 02f36c3e7f6c
permissions -rw-r--r--
In hindsight my emscripten-ifdef (70d416a8f63f) is nonsense. As fpcrtl_glShaderSource() would not be defined and lead to compiling issues. So either it's 3 ifdefs (in pas2cRedo, pas2cSystem and misc.c), in order to toggle between fpcrtl_ and the native function, or alternatively have no ifdef for it at all. I'm going with none at all, which means emscripten will compile with the original (const) function prototype, being wrapped by the fpcrtl_ function, same as non-emscripten builds.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
7983
02f36c3e7f6c add xymeng's rtl port
koda
parents:
diff changeset
     1
#ifndef _CHECK_CHECK_H_
02f36c3e7f6c add xymeng's rtl port
koda
parents:
diff changeset
     2
#define _CHECK_CHECK_H_
02f36c3e7f6c add xymeng's rtl port
koda
parents:
diff changeset
     3
02f36c3e7f6c add xymeng's rtl port
koda
parents:
diff changeset
     4
Suite *system_suite();
02f36c3e7f6c add xymeng's rtl port
koda
parents:
diff changeset
     5
Suite *misc_suite();
02f36c3e7f6c add xymeng's rtl port
koda
parents:
diff changeset
     6
Suite *sysutils_suite();
02f36c3e7f6c add xymeng's rtl port
koda
parents:
diff changeset
     7
Suite *fileio_suite();
02f36c3e7f6c add xymeng's rtl port
koda
parents:
diff changeset
     8
02f36c3e7f6c add xymeng's rtl port
koda
parents:
diff changeset
     9
#endif