Idris2/support
Sören Tempel 3f681d2f5e Make sure _simple_handler is not exported
Support for simple signal handling was added in
a0a417240e. This commit also adds the
`_simple_handler` function. It seems to me that this function is
intended as a helper function which should only be visible in
`idris_signal.c`, it is not used outside this file. For this purpose it
is probably also marked as inline. However, the inline keyword does not
require the compiler to actually inline the function. As such, the
`_simple_handler` symbol may still be exported if the compiler doesn't
inline the function.

On my system this seems to be the case and causes the following error
during compilation of idris2:

	Exception: (while loading libidris2_support.so) Error relocating Idris2-0.4.0/build/exec/idris2_app/libidris2_support.so: _simple_handler: symbol not found

By marking the `_simple_handler` function as `static inline` it is
ensured that the symbol is not exported, thereby preventing the
relocation error.
2021-06-28 11:55:37 +01:00
..
c Make sure _simple_handler is not exported 2021-06-28 11:55:37 +01:00
chez Route System.prim__system through C function 2021-06-28 11:28:14 +01:00
docs [ docs ] Remove unnecessary newlines in HTML declaration lists 2021-05-06 14:38:55 +01:00
gambit Route System.prim__system through C function 2021-06-28 11:28:14 +01:00
js Windows test fixes 2021-04-12 18:47:57 +02:00
racket Route System.prim__system through C function 2021-06-28 11:28:14 +01:00
refc Add ability to extend RefC backend to create further backends 2021-06-18 16:59:35 +01:00