Mercurial > urweb
view tests/transactional.c @ 1535:27190faa36a3
Handle case where shakeExp can remove datatype.
author | Karn Kallio <kkallio@eka> |
---|---|
date | Sat, 13 Aug 2011 00:07:28 -0430 |
parents | 1cc67fdac4d3 |
children |
line wrap: on
line source
#include <stdio.h> #include "/usr/local/include/urweb/urweb.h" static void do_free(void *data, int will_retry) { printf("will_retry = %d\n", will_retry); } uw_unit uw_Transactional_foo(uw_context ctx) { printf("Registering....\n"); uw_register_transactional(ctx, NULL, NULL, NULL, do_free); }