blob: 54e26874b119decdeac5e0262380c64186a1e8d7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#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);
}
|