Re: G_UTF8String: Boxed Type Proposal



On 03/18/2016 10:10 AM, Florian Müllner wrote:
On Fri, Mar 18, 2016 at 2:57 PM Randall Sawyer <srandallsawyer hushmail me> wrote:
how about the following modifications?
Change "gstring.h":
...
struct _GString
{
   gchar  *str;
   gsize len;
   gsize allocated_len;
   gsize utf8_len;
};
...

 Changing the size of a public struct is an ABI break, so this is not an option for glib-2.x.

So, does that answer question 4?

Also - I just discovered that glibmm has a class Glib::ustring (https://developer.gnome.org/glibmm/stable/classGlib_1_1ustring.html). I am going to take a look through its source to see what they have there.



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