2
0
mirror of https://github.com/raylib-cs/raylib-cs synced 2025-06-30 19:03:42 -04:00

Update to raylib 4.2 (#117)

Update bindings to use raylib 4.2.0. Review comments and utils.
This commit is contained in:
2022-10-01 12:27:25 +01:00
committed by GitHub
parent 65d9150ec4
commit 0d994b0992
10 changed files with 325 additions and 126 deletions

View File

@ -67,7 +67,7 @@ namespace Raylib_cs
{
return new CBool { value = (sbyte)(left.value - right.value) };
}
// ToString override
public override string ToString()
{

View 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;
}
}