summaryrefslogtreecommitdiff
path: root/src/basic/gunicode.h
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-05-06 16:48:26 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2017-05-06 16:48:26 -0400
commit91dca19f3ad50c33217d186bda1261228f8c293b (patch)
treec7abc968ed533ca1857d6cec3eb39e5d175d87d7 /src/basic/gunicode.h
parent6ecbde8f5a65b922809dd7c077ed8494ca4a7bc9 (diff)
./tools/notsd-move
Diffstat (limited to 'src/basic/gunicode.h')
-rw-r--r--src/basic/gunicode.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/src/basic/gunicode.h b/src/basic/gunicode.h
deleted file mode 100644
index 5975bc8fc9..0000000000
--- a/src/basic/gunicode.h
+++ /dev/null
@@ -1,30 +0,0 @@
-#pragma once
-
-/* gunicode.h - Unicode manipulation functions
- *
- * Copyright (C) 1999, 2000 Tom Tromey
- * Copyright 2000, 2005 Red Hat, Inc.
- */
-
-#include <stdbool.h>
-#include <stdint.h>
-#include <stdlib.h>
-
-char *utf8_prev_char (const char *p);
-
-extern const char utf8_skip_data[256];
-
-/**
- * g_utf8_next_char:
- * @p: Pointer to the start of a valid UTF-8 character
- *
- * Skips to the next character in a UTF-8 string. The string must be
- * valid; this macro is as fast as possible, and has no error-checking.
- * You would use this macro to iterate over a string character by
- * character. The macro returns the start of the next UTF-8 character.
- * Before using this macro, use g_utf8_validate() to validate strings
- * that may contain invalid UTF-8.
- */
-#define utf8_next_char(p) (char *)((p) + utf8_skip_data[*(const unsigned char *)(p)])
-
-bool unichar_iswide (uint32_t c);