From: Mark Yacoub <markyacoub@google.com>
To: louis.chauvet@bootlin.com, igt-dev@lists.freedesktop.org
Cc: Mark Yacoub <markyacoub@google.com>
Subject: [PATCH] android: glib: add g_key_file_get_boolean stub
Date: Mon, 27 Jul 2026 10:22:00 -0400 [thread overview]
Message-ID: <20260727142200.3042096-1-markyacoub@google.com> (raw)
This stub function is necessary to allow IGT Unigraf dependencies to successfully compile on the Android platform.
Suggested-by: Mark Yacoub <markyacoub@google.com>
---
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; }
--
2.55.0.229.g6434b31f56-goog
next reply other threads:[~2026-07-27 14:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-27 14:22 Mark Yacoub [this message]
2026-07-27 15:31 ` ✓ Xe.CI.BAT: success for android: glib: add g_key_file_get_boolean stub Patchwork
2026-07-27 15:47 ` ✓ i915.CI.BAT: " Patchwork
2026-07-27 16:59 ` ✓ Xe.CI.FULL: " Patchwork
2026-07-27 23:04 ` ✓ i915.CI.Full: " Patchwork
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260727142200.3042096-1-markyacoub@google.com \
--to=markyacoub@google.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=louis.chauvet@bootlin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox