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 &lt;<a href=3D"mailto:louis.chauvet@bootl=
in.com">[email protected]</a>&gt; 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>
&gt; This stub function is necessary to allow IGT Unigraf dependencies to s=
uccessfully compile on the Android platform.<br>
&gt; <br>
&gt; Suggested-by: Mark Yacoub &lt;<a href=3D"mailto:[email protected]"=
 target=3D"_blank">[email protected]</a>&gt;<br>
<br>
Reviewed-by: Louis Chauvet &lt;<a href=3D"mailto:[email protected]"=
 target=3D"_blank">[email protected]</a>&gt;<br>
<br>
&gt; ---<br>
&gt;=C2=A0 =C2=A0include/android/glib.h | 3 +++<br>
&gt;=C2=A0 =C2=A01 file changed, 3 insertions(+)<br>
&gt; <br>
&gt; diff --git a/include/android/glib.h b/include/android/glib.h<br>
&gt; index 0b6658287..aacfcf138 100644<br>
&gt; --- a/include/android/glib.h<br>
&gt; +++ b/include/android/glib.h<br>
&gt; @@ -55,6 +55,9 @@ static inline double g_key_file_get_double(GKeyFile =
*key_file,<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0const char *group_name, const char *key, GEr=
ror **error) { return 0.0; }<br>
&gt;=C2=A0 =C2=A0static inline bool g_key_file_load_from_file(GKeyFile *key=
_file,<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0const char *file, int flags, GError **error)=
 { return false; }<br>
&gt; +static inline bool g_key_file_get_boolean(GKeyFile *key_file,<br>
&gt; +=C2=A0 =C2=A0 =C2=A0const char *group_name, const char *key, GError *=
*error) { return false; }<br>
&gt; +<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0static inline GRegex *g_regex_new(const char *pattern, int=
 compile_options,<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0int match_options, GError **error) { return =
NULL; }<br>
<br>
</blockquote></div>

--0000000000007172dc0657eb62e7--