Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2017-02-06 17:04:13 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2017-02-06 17:04:13 +0300
commitc7f40caa2c36f8bb9bb92c03df5046c45eff72e4 (patch)
treedefe0c5a2d711c756aff286d4e509cc69c833e57 /source/blender
parentc5cc9e046d3edb5d8d0ef86b90c56ca4840a53ec (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".
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/blenlib/BLI_sys_types.h5
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