]> git.xolatile.top Git - xolatile-raylib-ada.git/commitdiff
Done for now, will see if more work is needed...
authorxolatile <xolatile@proton.me>
Wed, 20 Mar 2024 07:41:16 +0000 (03:41 -0400)
committerxolatile <xolatile@proton.me>
Wed, 20 Mar 2024 07:41:16 +0000 (03:41 -0400)
raylib.ads

index abf33235684359b90c7108fbfeef378664f06842..e28c5a16e51da9446cf3c5212e22157f8bdf1dde 100644 (file)
@@ -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,