30main (
int argc,
char** argv)
35 if (!strcmp(argv[1],
"set"))
40 if (!strcmp(argv[1],
"get_no"))
47 if (!strcmp(argv[1],
"get"))
55 if (!strcmp(argv[1],
"get2"))
lumiera_err lumiera_error(void)
Get and clear current error state.
lumiera_err lumiera_error_set(lumiera_err nerr, const char *extra)
Set error state for the current thread.
Lumiera error handling (C interface).
#define LUMIERA_ERROR_DEFINE(err, msg)
Definition and initialisation of an error constant.