summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2009-05-02 18:46:00 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2009-05-02 18:46:00 -0400
commit9d959303231d6790e9ffbc631e775abbeaee4584 (patch)
tree78c7997fc3428a75364f0c01ca9089a3d786619e
parent5bec72c1ee13e48a9e11c3c1b924020436c827fe (diff)
Update FFI type of Basis.self
-rw-r--r--include/urweb.h2
-rw-r--r--src/c/urweb.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/urweb.h b/include/urweb.h
index 4d176561..80d2b255 100644
--- a/include/urweb.h
+++ b/include/urweb.h
@@ -164,7 +164,7 @@ uw_unit uw_Basis_set_cookie(uw_context, uw_Basis_string prefix, uw_Basis_string
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);
diff --git a/src/c/urweb.c b/src/c/urweb.c
index 038f2549..75d42a6c 100644
--- a/src/c/urweb.c
+++ b/src/c/urweb.c
@@ -575,7 +575,7 @@ failure_kind uw_begin(uw_context ctx, char *path) {
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");