diff 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
line wrap: on
line diff
--- a/include/urweb.h	Sun Sep 07 09:28:13 2008 -0400
+++ b/include/urweb.h	Sun Sep 07 10:02:27 2008 -0400
@@ -17,7 +17,8 @@
 failure_kind lw_begin_init(lw_context);
 failure_kind lw_begin(lw_context, char *path);
 
-void lw_error(lw_context, failure_kind, const char *fmt, ...);
+__attribute__((noreturn)) void lw_error(lw_context, failure_kind, const char *fmt, ...);
+__attribute__((noreturn)) void lw_Basis_error(lw_context, lw_Basis_string);
 char *lw_error_message(lw_context);
 
 void *lw_malloc(lw_context, size_t);