Skip to content

Commit

Permalink
Merge pull request #34 from khaledhosny/docs
Browse files Browse the repository at this point in the history
Doc fixes
  • Loading branch information
dov committed Nov 21, 2017
2 parents f04ef2d + a50d5ff commit ed5f9ac
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
21 changes: 13 additions & 8 deletions lib/fribidi-brackets.h
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 0 additions & 2 deletions lib/fribidi-types.h
Expand Up @@ -42,7 +42,6 @@
#include "fribidi-begindecls.h"


#ifndef __FRIBIDI_DOC
# if defined (_SVR4) || defined (SVR4) || defined (__OpenBSD__) || \
defined (_sgi) || defined (__sun) || defined (sun) || \
defined (__digital__) || defined (__HP_cc)
Expand All @@ -52,7 +51,6 @@
# else
# include <stdint.h>
# endif
#endif

typedef int fribidi_boolean;

Expand Down

0 comments on commit ed5f9ac

Please sign in to comment.