summaryrefslogtreecommitdiffhomepage
path: root/src/core.c
diff options
context:
space:
mode:
authorrealtradam <[email protected]>2022-02-06 05:42:14 -0500
committerrealtradam <[email protected]>2022-02-06 05:42:14 -0500
commitf572573c195a41b4c3aa47b1c5f6c0dc9213b17a (patch)
tree71b79c678aae428cd8333c0b925714ec84aa30fd /src/core.c
parent2e283dd01b5dc80e9606add4819a15d8803c167c (diff)
downloadmruby-raylib-f572573c195a41b4c3aa47b1c5f6c0dc9213b17a.tar.gz
mruby-raylib-f572573c195a41b4c3aa47b1c5f6c0dc9213b17a.zip
working structs across files and new macros for struct wrapping
Diffstat (limited to 'src/core.c')
-rw-r--r--src/core.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core.c b/src/core.c
index 482b1de..66674f3 100644
--- a/src/core.c
+++ b/src/core.c
@@ -1,5 +1,10 @@
#include "raylib/core.h"
+const struct mrb_data_type Color_type = {
+ "Color", mrb_free
+};
+
+
/*
* @overload init_window(width: 800, height: 600, title: "Hello World from Raylib!")
* @param width [Integer]