diff include/types.h @ 1327:1cc67fdac4d3

New argument to transactional free functions, to specify whether we are about to retry
author Adam Chlipala <adam@chlipala.net>
date Sat, 04 Dec 2010 11:15:20 -0500
parents b4480a56cab7
children b106ca8200b1
line wrap: on
line diff
--- a/include/types.h	Thu Dec 02 14:11:18 2010 -0500
+++ b/include/types.h	Sat Dec 04 11:15:20 2010 -0500
@@ -51,6 +51,7 @@
 #define TIMES_MAX 100
 
 typedef void (*uw_callback)(void *);
+typedef void (*uw_callback_with_retry)(void *, int will_retry);
 typedef void (*uw_logger)(void*, const char *fmt, ...);
 
 typedef struct {