Re: [PATCH] android: glib: add g_key_file_get_boolean stub
Louis Chauvet <[email protected]> Fri, 31 Jul 2026 19:13:53 +0200
| Newsgroups | org.freedesktop.lists.igt-dev |
|---|---|
| Message-ID | <[email protected]> |
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; }