Re: How to deprecate PangoScript?



On Thu, 2007-08-02 at 15:48 -0400, Behdad Esfahbod wrote:
> I want to release Pango 1.18 early next week.  The only pending item
> is
> how to deprecate PangoScript in favor of the newly added
> GUnicodeScript?
> I'm particularly interested to hear what not to do from binding
> people.
> 
> Possibilities I see:
> 
>   1. Do nothing: document that PangoScript and GUnicodeScript are
> interchangable and add values to both enums as new scripts are encoded
> in Unicode in the future.  The main problem with this approach is that
> as pango_script_for_unichar() will be just a wrapper around
> g_unichar_get_script(), if you install newer GLib,
> pango_script_for_unichar() may return values that are not in the
> PangoScript enum.  That's not good.

How is that different from the case where you compile for a particular
version, and you run with a newer one with added scripts ?

	Xav





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]