Update to raylib 4.2 (#117)
Update bindings to use raylib 4.2.0. Review comments and utils.
This commit is contained in:
parent
65d9150ec4
commit
0d994b0992
10 changed files with 322 additions and 123 deletions
|
|
@ -67,7 +67,7 @@ namespace Raylib_cs
|
|||
{
|
||||
return new CBool { value = (sbyte)(left.value - right.value) };
|
||||
}
|
||||
|
||||
|
||||
// ToString override
|
||||
public override string ToString()
|
||||
{
|
||||
|
|
|
|||
27
Raylib-cs/types/native/FilePathList.cs
Normal file
27
Raylib-cs/types/native/FilePathList.cs
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Raylib_cs
|
||||
{
|
||||
/// <summary>
|
||||
/// File path list
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public unsafe struct FilePathList
|
||||
{
|
||||
/// <summary>
|
||||
/// Filepaths max entries
|
||||
/// </summary>
|
||||
public uint capacity;
|
||||
|
||||
/// <summary>
|
||||
/// Filepaths entries count
|
||||
/// </summary>
|
||||
public uint count;
|
||||
|
||||
/// <summary>
|
||||
/// Filepaths entries
|
||||
/// </summary>
|
||||
public byte** paths;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue