Mercurial > urweb
comparison src/c/static.c @ 1814:2d9f831d45c9
Update tutorial for Ur/Web changes
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Mon, 03 Sep 2012 09:51:23 -0400 |
parents | 2f9b7382dd1d |
children | c93fbd139732 |
comparison
equal
deleted
inserted
replaced
1813:4c61bb7acb9b | 1814:2d9f831d45c9 |
---|---|
23 return 1; | 23 return 1; |
24 } | 24 } |
25 | 25 |
26 ctx = uw_init(0, NULL, log_debug); | 26 ctx = uw_init(0, NULL, log_debug); |
27 uw_set_app(ctx, &uw_application); | 27 uw_set_app(ctx, &uw_application); |
28 uw_initialize(ctx); | |
28 | 29 |
29 while (1) { | 30 while (1) { |
30 fk = uw_begin(ctx, argv[1]); | 31 fk = uw_begin(ctx, argv[1]); |
31 | 32 |
32 if (fk == SUCCESS) { | 33 if (fk == SUCCESS) { |