diff include/urweb.h @ 801:5f49a6b759cb

Fix nasty bugs with longjmp() looping for uw_set_input(); and bad variable indexes for nested JavaScript in jscomp
author Adam Chlipala <adamc@hcoop.net>
date Thu, 14 May 2009 18:13:09 -0400
parents 8ed1261f838c
children 395a5d450cc0
line wrap: on
line diff
--- a/include/urweb.h	Thu May 14 13:18:31 2009 -0400
+++ b/include/urweb.h	Thu May 14 18:13:09 2009 -0400
@@ -43,8 +43,8 @@
 
 int uw_send(uw_context, int sock);
 
-void uw_set_input(uw_context, const char *name, char *value);
-void uw_set_file_input(uw_context, char *name, uw_Basis_file);
+int uw_set_input(uw_context, const char *name, char *value);
+int uw_set_file_input(uw_context, char *name, uw_Basis_file);
 
 char *uw_get_input(uw_context, int name);
 char *uw_get_optional_input(uw_context, int name);