From 2f0815150d66c0d76726d9a693149dc16f1c3a72 Mon Sep 17 00:00:00 2001 From: xolatile Date: Wed, 20 Mar 2024 03:41:16 -0400 Subject: [PATCH] Done for now, will see if more work is needed... --- raylib.ads | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/raylib.ads b/raylib.ads index abf3323..e28c5a1 100644 --- a/raylib.ads +++ b/raylib.ads @@ -757,6 +757,8 @@ package Raylib is Data : Pointer := null; end record with Convention => C_Pass_By_Copy; + No_Wave : Wave; + type Audio_Stream is record Buffer : Pointer := null; Processor : Pointer := null; @@ -3105,15 +3107,20 @@ package Raylib is Convention => C, External_Name => "GetGlyphAtlasRec"; - --~function char *LoadUTF8 (const int *codepoints, int length) with - --~Import => True, - --~Convention => C, - --~External_Name => ""; + function Load_UTF8 ( + Code_Points : access Integer := null; + Length : Integer := 0 + ) return access Character with + Import => True, + Convention => C, + External_Name => "LoadUTF8"; - --~procedure UnloadUTF8 (char *text) with - --~Import => True, - --~Convention => C, - --~External_Name => ""; + procedure Unload_UTF8 ( + Text : access Character := null + ) with + Import => True, + Convention => C, + External_Name => "UnloadUTF8"; --~function int *LoadCodepoints (const char *text, int *count) with --~Import => True,