diff --git a/Raylib-cs/interop/Raylib.cs b/Raylib-cs/interop/Raylib.cs index a81ba4e..1a8fbaa 100644 --- a/Raylib-cs/interop/Raylib.cs +++ b/Raylib-cs/interop/Raylib.cs @@ -627,6 +627,10 @@ public static unsafe partial class Raylib [DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)] public static extern CBool IsPathFile(sbyte* path); + /// Check if fileName is valid for the platform/OS + [DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)] + public static extern CBool IsFileNameValid(sbyte* fileName); + /// Change working directory, return true on success [DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)] public static extern CBool ChangeDirectory(sbyte* dir);