summaryrefslogtreecommitdiff
path: root/raylib.ads
diff options
context:
space:
mode:
Diffstat (limited to 'raylib.ads')
-rw-r--r--raylib.ads7
1 files changed, 5 insertions, 2 deletions
diff --git a/raylib.ads b/raylib.ads
index 7cc5ddb..a58c34c 100644
--- a/raylib.ads
+++ b/raylib.ads
@@ -1,5 +1,4 @@
with Interfaces.C; use Interfaces.C;
-with Interfaces.C.Pointers;
with Raymath; use Raymath;
package Raylib is
@@ -13,7 +12,7 @@ package Raylib is
Import => True,
Convention => C,
External_Name => "CloseWindow";
- function Window_Should_Close return int
+ function Window_Should_Close return C_Bool
with
Import => True,
Convention => C,
@@ -206,4 +205,8 @@ package Raylib is
Import => True,
Convention => C,
External_Name => "DrawTriangle";
+
+ type Vector2_Array is array (size_t range <>) of aliased Vector2;
+
+ procedure Draw_Triangle_Strip(Points: Vector2_Array; C: Color);
end Raylib;