Bug 18916 - API incompatibility, symbols no longer defined
Summary: API incompatibility, symbols no longer defined
Status: NEW
Alias: None
Product: FriBidi
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: All All
: medium normal
Assignee: Behdad Esfahbod
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-06 08:49 UTC by Christophe GISQUET
Modified: 2008-12-06 08:49 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.