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:
@@ -969,7 +969,7 @@ struct FlValueNodeBuilder {
|
||||
using MapBuilder = FlValue*;
|
||||
|
||||
static Value Null() { return fl_value_new_null(); }
|
||||
static Value Bool(bool value) { return fl_value_new_bool(value); }
|
||||
static Value Boolean(bool value) { return fl_value_new_bool(value); }
|
||||
static Value Int(int64_t value) { return fl_value_new_int(value); }
|
||||
static Value Double(double value) { return fl_value_new_float(value); }
|
||||
static Value String(const char* value, size_t length) {
|
||||
|
||||
Reference in New Issue
Block a user