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:
authorCampbell Barton <ideasman42@gmail.com>2017-10-17 05:43:10 +0300
committerCampbell Barton <ideasman42@gmail.com>2017-10-17 05:49:20 +0300
commit99520e3f92e14eb3b7fab3f7decd0914a3da1360 (patch)
tree79947d6dbf20e773b107359e9faddc5a17c0271b /source/blender/blenlib/BLI_string_cursor_utf8.h
parent57ec19e0e5cbb96392eccf12d4ccc17c4cf9b65b (diff)
Cleanup: use 'e' prefix for enum typedefs
Convention was only followed loosely, apply to DNA where changes aren't likely to conflict. (Skipped ModifierType for eg).
Diffstat (limited to 'source/blender/blenlib/BLI_string_cursor_utf8.h')
-rw-r--r--source/blender/blenlib/BLI_string_cursor_utf8.h22
1 files changed, 12 insertions, 10 deletions
diff --git a/source/blender/blenlib/BLI_string_cursor_utf8.h b/source/blender/blenlib/BLI_string_cursor_utf8.h
index b4d354b7e37..e7776aa0f0d 100644
--- a/source/blender/blenlib/BLI_string_cursor_utf8.h
+++ b/source/blender/blenlib/BLI_string_cursor_utf8.h
@@ -30,26 +30,28 @@
* \ingroup bli
*/
-typedef enum strCursorJumpType {
+typedef enum eStrCursorJumpType {
STRCUR_JUMP_NONE,
STRCUR_JUMP_DELIM,
STRCUR_JUMP_ALL
-} strCursorJumpType;
+} eStrCursorJumpType;
-typedef enum strCursorJumpDirection {
+typedef enum eStrCursorJumpDirection {
STRCUR_DIR_PREV,
STRCUR_DIR_NEXT
-} strCursorJumpDirection;
+} eStrCursorJumpDirection;
bool BLI_str_cursor_step_next_utf8(const char *str, size_t maxlen, int *pos);
bool BLI_str_cursor_step_prev_utf8(const char *str, size_t maxlen, int *pos);
-void BLI_str_cursor_step_utf8(const char *str, size_t maxlen,
- int *pos, strCursorJumpDirection direction,
- strCursorJumpType jump, bool use_init_step);
+void BLI_str_cursor_step_utf8(
+ const char *str, size_t maxlen,
+ int *pos, eStrCursorJumpDirection direction,
+ eStrCursorJumpType jump, bool use_init_step);
-void BLI_str_cursor_step_wchar(const wchar_t *str, size_t maxlen,
- int *pos, strCursorJumpDirection direction,
- strCursorJumpType jump, bool use_init_step);
+void BLI_str_cursor_step_wchar(
+ const wchar_t *str, size_t maxlen,
+ int *pos, eStrCursorJumpDirection direction,
+ eStrCursorJumpType jump, bool use_init_step);
#endif /* __BLI_STRING_CURSOR_UTF8_H__ */