Math utils: Cleanup, use _uint suffix for function which operates on uint
authorSergey Sharybin <sergey.vfx@gmail.com>
Fri, 15 Dec 2017 15:16:22 +0000 (16:16 +0100)
committerSergey Sharybin <sergey.vfx@gmail.com>
Fri, 15 Dec 2017 15:54:28 +0000 (16:54 +0100)
source/blender/blenlib/BLI_math_bits.h
source/blender/blenlib/intern/math_bits_inline.c

index 1ac98a682d130fa20bacb8f375fc7030625d0684..1d0ee77feed1f24d61759cd0fe720bb414bcb248 100644 (file)
@@ -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__
index 82d7e2114c24a8671b986c65a303255787bced2b..9f502d367cba4b32811bab1e07625f24256db5c3 100644 (file)
@@ -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);