summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2017-11-21 13:59:08 +0200
committerKhaled Hosny <khaledhosny@eglug.org>2017-11-21 13:59:28 +0200
commita50d5ff754e0ea8808e80af43e9da0043521c274 (patch)
tree1aa2e2d4b7960aa77e2f59402a48950ac70e3ef8
parent4783c3a8cf70eb7de8bb91d19b57093794506949 (diff)
downloadfribidi-a50d5ff754e0ea8808e80af43e9da0043521c274.tar.gz
Document fribidi_get_brackets
-rw-r--r--lib/fribidi-brackets.h21
1 files changed, 13 insertions, 8 deletions
diff --git a/lib/fribidi-brackets.h b/lib/fribidi-brackets.h
index f2932fe..f557eef 100644
--- a/lib/fribidi-brackets.h
+++ b/lib/fribidi-brackets.h
@@ -43,8 +43,8 @@
#include "fribidi-begindecls.h"
-#define fribidi_get_bracket_char FRIBIDI_NAMESPACE(get_bracket_char)
-/* fribidi_get_bracket_char - get bracketed character
+#define fribidi_get_bracket FRIBIDI_NAMESPACE(get_bracket)
+/* fribidi_get_bracket - get bracketed character
*
* This function finds the bracketed equivalent of a character as defined in
* the file BidiBrackets.txt of the Unicode Character Database available at
@@ -63,14 +63,19 @@ FRIBIDI_ENTRY FriBidiBracketType fribidi_get_bracket (
FriBidiChar ch /* input character */
);
+#define fribidi_get_brackets FRIBIDI_NAMESPACE(get_brackets)
+/* fribidi_get_brackets - get bracketed characters
+ *
+ * This function finds the bracketed characters of an string of characters.
+ * See fribidi_get_bracket() for more information about the bracketed
+ * characters returned by this function.
+ */
FRIBIDI_ENTRY void
fribidi_get_bracket_types (
- /* input */
- const FriBidiChar *str,
- const FriBidiStrIndex len,
- const FriBidiCharType *types,
- /* output */
- FriBidiBracketType *btypes
+ const FriBidiChar *str, /* input string */
+ const FriBidiStrIndex len, /* input string length */
+ const FriBidiCharType *types, /* input bidi types */
+ FriBidiBracketType *btypes /* output bracketed characters */
);
#define FRIBIDI_BRACKET_OPEN_MASK 0x80000000