diff options
author | Adam Chlipala <adam@chlipala.net> | 2012-02-04 11:01:06 -0500 |
---|---|---|
committer | Adam Chlipala <adam@chlipala.net> | 2012-02-04 11:01:06 -0500 |
commit | e0e4f3c3978c8cf18f6e2c11203051c2ef4d4a68 (patch) | |
tree | e85b1d872c1f40a0b7ba471cf80d0787e65c7eb7 /include | |
parent | 08e55a0472abe5a5464996402c398517422514fd (diff) |
Basis.toMilliseconds and diffInMilliseconds, based on a patch from Gergely Buday
Diffstat (limited to 'include')
-rw-r--r-- | include/urweb.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/urweb.h b/include/urweb.h index 4230da1a..9cdc7e8a 100644 --- a/include/urweb.h +++ b/include/urweb.h @@ -256,6 +256,8 @@ uw_Basis_time uw_Basis_now(uw_context); uw_Basis_time uw_Basis_addSeconds(uw_context, uw_Basis_time, uw_Basis_int); uw_Basis_int uw_Basis_diffInSeconds(uw_context, uw_Basis_time, uw_Basis_time); uw_Basis_int uw_Basis_toSeconds(uw_context, uw_Basis_time); +uw_Basis_int uw_Basis_diffInMilliseconds(uw_context, uw_Basis_time, uw_Basis_time); +uw_Basis_int uw_Basis_toMilliseconds(uw_context, uw_Basis_time); extern const uw_Basis_time uw_Basis_minTime; void uw_register_transactional(uw_context, void *data, uw_callback commit, uw_callback rollback, uw_callback_with_retry free); |