From 8384e3605450a153e3eef50b6a4fd6e6d38be802 Mon Sep 17 00:00:00 2001 From: JupiterRider <60042618+JupiterRider@users.noreply.github.com> Date: Mon, 28 Jul 2025 13:27:06 +0200 Subject: [PATCH] Update docs of some FromMemory-functions #305 (#306) --- Raylib-cs/interop/Raylib.cs | 6 +++--- Raylib-cs/types/Raylib.Utils.cs | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Raylib-cs/interop/Raylib.cs b/Raylib-cs/interop/Raylib.cs index 6d2daf7..fdb4871 100644 --- a/Raylib-cs/interop/Raylib.cs +++ b/Raylib-cs/interop/Raylib.cs @@ -1424,7 +1424,7 @@ public static unsafe partial class Raylib [DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)] public static extern Image LoadImageAnim(sbyte* fileName, int* frames); - /// Load image from memory buffer, fileType refers to extension: i.e. "png" + /// Load image from memory buffer, fileType refers to extension: i.e. ".png" [DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)] public static extern Image LoadImageFromMemory(sbyte* fileType, byte* fileData, int dataSize); @@ -1976,7 +1976,7 @@ public static unsafe partial class Raylib [DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)] public static extern Font LoadFontFromImage(Image image, Color key, int firstChar); - /// Load font from memory buffer, fileType refers to extension: i.e. "ttf" + /// Load font from memory buffer, fileType refers to extension: i.e. ".ttf" [DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)] public static extern Font LoadFontFromMemory( sbyte* fileType, @@ -2694,7 +2694,7 @@ public static unsafe partial class Raylib [DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)] public static extern Wave LoadWave(sbyte* fileName); - /// Load wave from memory buffer, fileType refers to extension: i.e. "wav" + /// Load wave from memory buffer, fileType refers to extension: i.e. ".wav" [DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)] public static extern Wave LoadWaveFromMemory(sbyte* fileType, byte* fileData, int dataSize); diff --git a/Raylib-cs/types/Raylib.Utils.cs b/Raylib-cs/types/Raylib.Utils.cs index 60df969..43e74bc 100644 --- a/Raylib-cs/types/Raylib.Utils.cs +++ b/Raylib-cs/types/Raylib.Utils.cs @@ -130,7 +130,7 @@ public static unsafe partial class Raylib } /// - /// Load image from managed memory, fileType refers to extension: i.e. "png" + /// Load image from managed memory, fileType refers to extension: i.e. ".png" /// public static Image LoadImageFromMemory(string fileType, byte[] fileData) { @@ -949,7 +949,7 @@ public static unsafe partial class Raylib } /// - /// Load font from managed memory, fileType refers to extension: i.e. "ttf" + /// Load font from managed memory, fileType refers to extension: i.e. ".ttf" /// public static Font LoadFontFromMemory( string fileType, @@ -1273,7 +1273,7 @@ public static unsafe partial class Raylib } /// - /// Load wave from managed memory, fileType refers to extension: i.e. "wav" + /// Load wave from managed memory, fileType refers to extension: i.e. ".wav" /// public static Wave LoadWaveFromMemory( string fileType,