MakeDirectory method added
This commit is contained in:
parent
1ac2252202
commit
3504c47b7a
1 changed files with 4 additions and 0 deletions
|
|
@ -607,6 +607,10 @@ public static unsafe partial class Raylib
|
||||||
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
public static extern sbyte* GetApplicationDirectory();
|
public static extern sbyte* GetApplicationDirectory();
|
||||||
|
|
||||||
|
/// <summary>Create directories (including full path requested), returns 0 on success</summary>
|
||||||
|
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
|
public static extern int MakeDirectory(sbyte* dirPath);
|
||||||
|
|
||||||
/// <summary>Load directory filepaths</summary>
|
/// <summary>Load directory filepaths</summary>
|
||||||
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
public static extern FilePathList LoadDirectoryFiles(sbyte* dirPath, int* count);
|
public static extern FilePathList LoadDirectoryFiles(sbyte* dirPath, int* count);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue