changeset 772:8ed1261f838c

Update FFI type of Basis.self
author Adam Chlipala <adamc@hcoop.net>
date Sat, 02 May 2009 18:46:00 -0400
parents eac1974924bb
children 74a090ff296e
files include/urweb.h src/c/urweb.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/include/urweb.h	Sat May 02 18:41:21 2009 -0400
+++ b/include/urweb.h	Sat May 02 18:46:00 2009 -0400
@@ -164,7 +164,7 @@
 uw_Basis_channel uw_Basis_new_channel(uw_context, uw_unit);
 uw_unit uw_Basis_send(uw_context, uw_Basis_channel, uw_Basis_string);
 
-uw_Basis_client uw_Basis_self(uw_context, uw_unit);
+uw_Basis_client uw_Basis_self(uw_context);
 
 uw_Basis_string uw_Basis_bless(uw_context, uw_Basis_string);
 uw_Basis_string uw_Basis_blessMime(uw_context, uw_Basis_string);
--- a/src/c/urweb.c	Sat May 02 18:41:21 2009 -0400
+++ b/src/c/urweb.c	Sat May 02 18:46:00 2009 -0400
@@ -575,7 +575,7 @@
   return r;
 }
 
-uw_Basis_client uw_Basis_self(uw_context ctx, uw_unit u) {
+uw_Basis_client uw_Basis_self(uw_context ctx) {
   if (ctx->client == NULL)
     uw_error(ctx, FATAL, "Call to Basis.self() from page that has only server-side code");