From e5290641d50566a9aff8eae9bec8d585f79077de Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Sat, 25 Feb 2006 02:04:42 +0000 Subject: Synched with documentation git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@228 74dad513-b988-da41-8d7b-12977e46ad98 --- pjlib/include/pj/os.h | 24 ------------------------ pjlib/include/pj/types.h | 24 ++++++++++++++++++++++++ 2 files changed, 24 insertions(+), 24 deletions(-) (limited to 'pjlib') diff --git a/pjlib/include/pj/os.h b/pjlib/include/pj/os.h index 8c04364d..991dacd0 100644 --- a/pjlib/include/pj/os.h +++ b/pjlib/include/pj/os.h @@ -891,30 +891,6 @@ PJ_DECL(pj_color_t) pj_term_get_color(void); */ #if defined(PJ_HAS_HIGH_RES_TIMER) && PJ_HAS_HIGH_RES_TIMER != 0 -/** - * This structure represents high resolution (64bit) time value. The time - * values represent time in cycles, which is retrieved by calling - * #pj_get_timestamp(). - */ -typedef union pj_timestamp -{ - struct - { -#if defined(PJ_IS_LITTLE_ENDIAN) && PJ_IS_LITTLE_ENDIAN!=0 - pj_uint32_t lo; /**< Low 32-bit value of the 64-bit value. */ - pj_uint32_t hi; /**< high 32-bit value of the 64-bit value. */ -#else - pj_uint32_t hi; /**< high 32-bit value of the 64-bit value. */ - pj_uint32_t lo; /**< Low 32-bit value of the 64-bit value. */ -#endif - } u32; /**< The 64-bit value as two 32-bit values. */ - -#if PJ_HAS_INT64 - pj_uint64_t u64; /**< The whole 64-bit value, where available. */ -#endif -} pj_timestamp; - - /** * Acquire high resolution timer value. The time value are stored * in cycles. diff --git a/pjlib/include/pj/types.h b/pjlib/include/pj/types.h index 69d440a9..6f86895e 100644 --- a/pjlib/include/pj/types.h +++ b/pjlib/include/pj/types.h @@ -120,6 +120,30 @@ struct pj_str_t pj_ssize_t slen; }; +/** + * This structure represents high resolution (64bit) time value. The time + * values represent time in cycles, which is retrieved by calling + * #pj_get_timestamp(). + */ +typedef union pj_timestamp +{ + struct + { +#if defined(PJ_IS_LITTLE_ENDIAN) && PJ_IS_LITTLE_ENDIAN!=0 + pj_uint32_t lo; /**< Low 32-bit value of the 64-bit value. */ + pj_uint32_t hi; /**< high 32-bit value of the 64-bit value. */ +#else + pj_uint32_t hi; /**< high 32-bit value of the 64-bit value. */ + pj_uint32_t lo; /**< Low 32-bit value of the 64-bit value. */ +#endif + } u32; /**< The 64-bit value as two 32-bit values. */ + +#if PJ_HAS_INT64 + pj_uint64_t u64; /**< The whole 64-bit value, where available. */ +#endif +} pj_timestamp; + + /** * The opaque data type for linked list, which is used as arguments throughout -- cgit v1.2.3