fix(linux): keep the mpv node builder clear of X11's Bool macro

The Linux native reliability job stopped compiling mpv_player.cc: the
node-conversion builder exposed a leaf named `Bool`, and X11's Xlib.h —
reached through epoxy/egl.h -> EGL/eglplatform.h — defines `Bool` as a
macro for `int`, so the declaration was rewritten into nonsense.

Renames that leaf to `Boolean` across the shared walk and all three
builders. The name is the only thing that changes; no conversion
behaviour differs.
This commit is contained in:
edde746
2026-07-26 23:05:16 +02:00
parent 100d7729df
commit 35f7a12d7c
4 changed files with 9 additions and 7 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ struct EncodableNodeBuilder {
using MapBuilder = flutter::EncodableMap;
static Value Null() { return flutter::EncodableValue(); }
static Value Bool(bool value) { return flutter::EncodableValue(value); }
static Value Boolean(bool value) { return flutter::EncodableValue(value); }
static Value Int(int64_t value) { return flutter::EncodableValue(value); }
static Value Double(double value) { return flutter::EncodableValue(value); }
static Value String(const char* value, size_t length) { return flutter::EncodableValue(SanitizeUtf8(value, length)); }