diff include/urweb/urweb_cpp.h @ 2001:16f5f136a807

uw_register_transactional() can return error codes
author Adam Chlipala <adam@chlipala.net>
date Thu, 17 Apr 2014 17:41:24 -0400
parents c93fbd139732
children 93ff76058825
line wrap: on
line diff
--- a/include/urweb/urweb_cpp.h	Tue Apr 15 19:12:49 2014 -0400
+++ b/include/urweb/urweb_cpp.h	Thu Apr 17 17:41:24 2014 -0400
@@ -280,7 +280,7 @@
 uw_Basis_int uw_Basis_datetimeDayOfWeek(struct uw_context *, uw_Basis_time);
 extern const uw_Basis_time uw_Basis_minTime;
 
-void uw_register_transactional(struct uw_context *, void *data, uw_callback commit, uw_callback rollback, uw_callback_with_retry free);
+int uw_register_transactional(struct uw_context *, void *data, uw_callback commit, uw_callback rollback, uw_callback_with_retry free);
 
 void uw_check_heap(struct uw_context *, size_t extra);
 char *uw_heap_front(struct uw_context *);