comparison src/c/urweb.c @ 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 d20d6afc1206
comparison
equal deleted inserted replaced
771:eac1974924bb 772:8ed1261f838c
573 } 573 }
574 574
575 return r; 575 return r;
576 } 576 }
577 577
578 uw_Basis_client uw_Basis_self(uw_context ctx, uw_unit u) { 578 uw_Basis_client uw_Basis_self(uw_context ctx) {
579 if (ctx->client == NULL) 579 if (ctx->client == NULL)
580 uw_error(ctx, FATAL, "Call to Basis.self() from page that has only server-side code"); 580 uw_error(ctx, FATAL, "Call to Basis.self() from page that has only server-side code");
581 581
582 return ctx->client->id; 582 return ctx->client->id;
583 } 583 }