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:
Diffstat (limited to 'source/blender/blenlib/BLI_string_cursor_utf8.h')
-rw-r--r--source/blender/blenlib/BLI_string_cursor_utf8.h32
1 files changed, 18 insertions, 14 deletions
diff --git a/source/blender/blenlib/BLI_string_cursor_utf8.h b/source/blender/blenlib/BLI_string_cursor_utf8.h
index 4037b403712..2d0acabc9de 100644
--- a/source/blender/blenlib/BLI_string_cursor_utf8.h
+++ b/source/blender/blenlib/BLI_string_cursor_utf8.h
@@ -25,27 +25,31 @@
*/
typedef enum eStrCursorJumpType {
- STRCUR_JUMP_NONE,
- STRCUR_JUMP_DELIM,
- STRCUR_JUMP_ALL,
+ STRCUR_JUMP_NONE,
+ STRCUR_JUMP_DELIM,
+ STRCUR_JUMP_ALL,
} eStrCursorJumpType;
typedef enum eStrCursorJumpDirection {
- STRCUR_DIR_PREV,
- STRCUR_DIR_NEXT,
+ STRCUR_DIR_PREV,
+ STRCUR_DIR_NEXT,
} 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, eStrCursorJumpDirection direction,
- eStrCursorJumpType 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);
+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,
+ eStrCursorJumpDirection direction,
+ eStrCursorJumpType jump,
+ bool use_init_step);
#endif /* __BLI_STRING_CURSOR_UTF8_H__ */