diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-02-06 17:04:13 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-02-06 17:04:13 +0300 |
commit | c7f40caa2c36f8bb9bb92c03df5046c45eff72e4 (patch) | |
tree | defe0c5a2d711c756aff286d4e509cc69c833e57 | |
parent | c5cc9e046d3edb5d8d0ef86b90c56ca4840a53ec (diff) |
Add shortcuts for unsigned int, short, long and char
Feel free to use those in the new code.
And stay away from simple "unsigned".
-rw-r--r-- | source/blender/blenlib/BLI_sys_types.h | 5 |
1 files changed, 5 insertions, 0 deletions
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 <stddef.h> /* size_t define */ #include <stdbool.h> +typedef unsigned int uint; +typedef unsigned short ushort; +typedef unsigned long ulong; +typedef unsigned char uchar; + #ifdef __cplusplus } #endif |