Bug 18916

Summary: API incompatibility, symbols no longer defined
Product: FriBidi Reporter: Christophe GISQUET <christophe.gisquet>
Component: generalAssignee: Behdad Esfahbod <freedesktop>
Status: NEW --- QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Christophe GISQUET 2008-12-06 08:49:13 UTC
Functions such as fribidi_utf8_to_unicode and fribidi_unicode_to_utf8 are still present but no longer made available. To keep using it as if there were API compatibility, I had to resort to manually declare them in my code. 

#if defined(FRIBIDI_MINOR_VERSION) && FRIBIDI_MINOR_VERSION == 19
/** Needed because fribidi2 doesn't export those symbols in the 0.19.1 release */
#define fribidi_utf8_to_unicode FRIBIDI_NAMESPACE(utf8_to_unicode)
#define fribidi_unicode_to_utf8 FRIBIDI_NAMESPACE(unicode_to_utf8)
extern "C" {
FriBidiStrIndex fribidi_utf8_to_unicode (
  const char *s,
  FriBidiStrIndex length,
  FriBidiChar *us
);
FRIBIDI_ENTRY FriBidiStrIndex fribidi_unicode_to_utf8 (
  const FriBidiChar *us,
  FriBidiStrIndex length,
  char *s
);
};
#endif

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.