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 | 09c2534e57944a9b5d6cc8971d0733d25749ade5 (patch) | |
tree | e85b1d872c1f40a0b7ba471cf80d0787e65c7eb7 /include | |
parent | 36603eae600143253959ad94cdc5bb75a766b91c (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); |