Math utils: Cleanup, use _uint suffix for function which operates on uint
This commit is contained in:
parent
ff0d3c520f
commit
2aa0f8a41b
|
@ -31,7 +31,7 @@ extern "C" {
|
|||
|
||||
#include "BLI_math_inline.h"
|
||||
|
||||
MINLINE unsigned int highest_order_bit_i(unsigned int n);
|
||||
MINLINE unsigned int highest_order_bit_uint(unsigned int n);
|
||||
MINLINE unsigned short highest_order_bit_s(unsigned short n);
|
||||
|
||||
#ifdef __GNUC__
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
|
||||
#include "BLI_math_bits.h"
|
||||
|
||||
MINLINE unsigned int highest_order_bit_i(unsigned int n)
|
||||
MINLINE unsigned int highest_order_bit_uint(unsigned int n)
|
||||
{
|
||||
n |= (n >> 1);
|
||||
n |= (n >> 2);
|
||||
|
|
Loading…
Reference in New Issue