Add ruby bindings for internal structures, allow better controlled localization

This commit is contained in:
2026-05-06 22:01:48 +01:00
parent 3894b90398
commit 65109cc3c4
8 changed files with 1047 additions and 114 deletions
+5 -1
View File
@@ -9,7 +9,11 @@
#define UNUSED(x) (void)(x)
struct Color {
uint8_t r, g, b = 0, a = 255;
uint8_t r, g, b = 0;
bool operator!=(const Color &other) const {
return r != other.r || g != other.g || b != other.b;
}
};
template <typename T>