1
0
Fork 0
mirror of https://gitlab.com/niansa/libcatch.git synced 2025-03-06 20:53:37 +01:00

Updated README

This commit is contained in:
niansa 2020-11-05 17:51:02 +01:00
parent bd423034c3
commit aa13c0317a

View file

@ -5,7 +5,7 @@ A C library to catch and traceback library function errors nicely
- Initialise libcatch as early as possible: `libcatch_init()`
- Set behavior `libcatch_behavior = x` (see Behaviors)
- `throw()` at any time
- Use `CATCH(expr)` to evaluate `expr` checking its return value and `throw()`ing if required
- Use `CATCH(expr)` for library functions or `CATCHNZ(expr)` for system calls
## Behaviors
Not risking instability: