Add ruby bindings for internal structures, allow better controlled localization
This commit is contained in:
+5
-1
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user