From a8982cd9eebe820973452df7cae3b05fe18d1394 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 8 Jan 2015 20:07:30 +0100 Subject: [PATCH] retro_miscellaneous.h - correct documentation --- libretro-sdk/include/retro_miscellaneous.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/libretro-sdk/include/retro_miscellaneous.h b/libretro-sdk/include/retro_miscellaneous.h index a2a60c14d6..61f835dd40 100644 --- a/libretro-sdk/include/retro_miscellaneous.h +++ b/libretro-sdk/include/retro_miscellaneous.h @@ -105,7 +105,7 @@ static INLINE void rarch_sleep(unsigned msec) * next_pow2: * @v : initial value * - * Increase initial value to next power of 2 value. + * Get next power of 2 value based on initial value. * * Returns: next power of 2 value (derived from @v). **/ @@ -125,7 +125,7 @@ static INLINE uint32_t next_pow2(uint32_t v) * prev_pow2: * @v : initial value * - * Increase initial value to previous power of 2 value. + * Get previous power of 2 value based on initial value. * * Returns: previous power of 2 value (derived from @v). **/ @@ -171,5 +171,4 @@ typedef struct #define BIT128_GET(a, bit) ((a).data[(bit) >> 5] & (1 << ((bit) & 31))) #define BIT128_CLEAR_ALL(a) memset(&(a), 0, sizeof(a)); - #endif