Re: [PATCH] android: glib: add g_key_file_get_boolean stub
Mark Yacoub <[email protected]> Fri, 31 Jul 2026 13:18:49 -0400
| Newsgroups | org.freedesktop.lists.igt-dev |
|---|---|
| Message-ID | <CAC0gqY7tCMM4GMgB=5H7SFk81PZsGXUMRQQ46HCqDGeYAcSb8Q@mail.gmail.com> |
--0000000000007172dc0657eb62e7 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Applied. Thanks! On Fri, Jul 31, 2026 at 1:14=E2=80=AFPM Louis Chauvet <louis.chauvet@bootli= n.com> wrote: > > > On 7/27/26 16:22, Mark Yacoub wrote: > > This stub function is necessary to allow IGT Unigraf dependencies to > successfully compile on the Android platform. > > > > Suggested-by: Mark Yacoub <[email protected]> > > Reviewed-by: Louis Chauvet <[email protected]> > > > --- > > include/android/glib.h | 3 +++ > > 1 file changed, 3 insertions(+) > > > > diff --git a/include/android/glib.h b/include/android/glib.h > > index 0b6658287..aacfcf138 100644 > > --- a/include/android/glib.h > > +++ b/include/android/glib.h > > @@ -55,6 +55,9 @@ static inline double g_key_file_get_double(GKeyFile > *key_file, > > const char *group_name, const char *key, GError **error) { return > 0.0; } > > static inline bool g_key_file_load_from_file(GKeyFile *key_file, > > const char *file, int flags, GError **error) { return false; } > > +static inline bool g_key_file_get_boolean(GKeyFile *key_file, > > + const char *group_name, const char *key, GError **error) { return > false; } > > + > > > > static inline GRegex *g_regex_new(const char *pattern, int > compile_options, > > int match_options, GError **error) { return NULL; } > > --0000000000007172dc0657eb62e7 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Applied. Thanks!</div><br><div class=3D"gmail_quote gmail_= quote_container"><div dir=3D"ltr" class=3D"gmail_attr">On Fri, Jul 31, 2026= at 1:14=E2=80=AFPM Louis Chauvet <<a href=3D"mailto:louis.chauvet@bootl= in.com">[email protected]</a>> wrote:<br></div><blockquote class= =3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rg= b(204,204,204);padding-left:1ex"><br> <br> On 7/27/26 16:22, Mark Yacoub wrote:<br> > This stub function is necessary to allow IGT Unigraf dependencies to s= uccessfully compile on the Android platform.<br> > <br> > Suggested-by: Mark Yacoub <<a href=3D"mailto:[email protected]"= target=3D"_blank">[email protected]</a>><br> <br> Reviewed-by: Louis Chauvet <<a href=3D"mailto:[email protected]"= target=3D"_blank">[email protected]</a>><br> <br> > ---<br> >=C2=A0 =C2=A0include/android/glib.h | 3 +++<br> >=C2=A0 =C2=A01 file changed, 3 insertions(+)<br> > <br> > diff --git a/include/android/glib.h b/include/android/glib.h<br> > index 0b6658287..aacfcf138 100644<br> > --- a/include/android/glib.h<br> > +++ b/include/android/glib.h<br> > @@ -55,6 +55,9 @@ static inline double g_key_file_get_double(GKeyFile = *key_file,<br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0const char *group_name, const char *key, GEr= ror **error) { return 0.0; }<br> >=C2=A0 =C2=A0static inline bool g_key_file_load_from_file(GKeyFile *key= _file,<br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0const char *file, int flags, GError **error)= { return false; }<br> > +static inline bool g_key_file_get_boolean(GKeyFile *key_file,<br> > +=C2=A0 =C2=A0 =C2=A0const char *group_name, const char *key, GError *= *error) { return false; }<br> > +<br> >=C2=A0 =C2=A0<br> >=C2=A0 =C2=A0static inline GRegex *g_regex_new(const char *pattern, int= compile_options,<br> >=C2=A0 =C2=A0 =C2=A0 =C2=A0int match_options, GError **error) { return = NULL; }<br> <br> </blockquote></div> --0000000000007172dc0657eb62e7--