retro_miscellaneous.h - correct documentation

This commit is contained in:
twinaphex 2015-01-08 20:07:30 +01:00
parent 4e17e365fa
commit a8982cd9ee

View File

@ -105,7 +105,7 @@ static INLINE void rarch_sleep(unsigned msec)
* next_pow2: * next_pow2:
* @v : initial value * @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). * Returns: next power of 2 value (derived from @v).
**/ **/
@ -125,7 +125,7 @@ static INLINE uint32_t next_pow2(uint32_t v)
* prev_pow2: * prev_pow2:
* @v : initial value * @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). * 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_GET(a, bit) ((a).data[(bit) >> 5] & (1 << ((bit) & 31)))
#define BIT128_CLEAR_ALL(a) memset(&(a), 0, sizeof(a)); #define BIT128_CLEAR_ALL(a) memset(&(a), 0, sizeof(a));
#endif #endif