comparison include/urweb.h @ 283:c0e4ac23522d

'error' function
author Adam Chlipala <adamc@hcoop.net>
date Sun, 07 Sep 2008 10:02:27 -0400
parents 0236d9412ad2
children 77a28e7430bf
comparison
equal deleted inserted replaced
282:0236d9412ad2 283:c0e4ac23522d
15 void lw_reset_keep_error_message(lw_context); 15 void lw_reset_keep_error_message(lw_context);
16 16
17 failure_kind lw_begin_init(lw_context); 17 failure_kind lw_begin_init(lw_context);
18 failure_kind lw_begin(lw_context, char *path); 18 failure_kind lw_begin(lw_context, char *path);
19 19
20 void lw_error(lw_context, failure_kind, const char *fmt, ...); 20 __attribute__((noreturn)) void lw_error(lw_context, failure_kind, const char *fmt, ...);
21 __attribute__((noreturn)) void lw_Basis_error(lw_context, lw_Basis_string);
21 char *lw_error_message(lw_context); 22 char *lw_error_message(lw_context);
22 23
23 void *lw_malloc(lw_context, size_t); 24 void *lw_malloc(lw_context, size_t);
24 int lw_send(lw_context, int sock); 25 int lw_send(lw_context, int sock);
25 26