From c7f40caa2c36f8bb9bb92c03df5046c45eff72e4 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Mon, 6 Feb 2017 15:04:13 +0100 Subject: [PATCH] Add shortcuts for unsigned int, short, long and char Feel free to use those in the new code. And stay away from simple "unsigned". --- source/blender/blenlib/BLI_sys_types.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/blender/blenlib/BLI_sys_types.h b/source/blender/blenlib/BLI_sys_types.h index 7929e1d6551..9d8222c575d 100644 --- a/source/blender/blenlib/BLI_sys_types.h +++ b/source/blender/blenlib/BLI_sys_types.h @@ -80,6 +80,11 @@ typedef uint64_t u_int64_t; #include /* size_t define */ #include +typedef unsigned int uint; +typedef unsigned short ushort; +typedef unsigned long ulong; +typedef unsigned char uchar; + #ifdef __cplusplus } #endif