brutal/Brutal.Jolt/Generated/PInvoke/Semaphore.gen.cs
Rian Drake b578433e37 first
2026-10-15 17:10:50 +13:00

34 lines
1.2 KiB
C#

// <auto-generated/>
// Generated by Brutal.Jolt.Generate; do not edit by hand.
#nullable enable
using Brutal.Interop;
using Brutal.Numerics;
namespace Brutal.JoltApi
{
public static partial class Jolt
{
public static unsafe partial class PInvoke
{
/// <inheritdoc cref="Semaphore.Create()"/>
[LibraryImport("jolt", EntryPoint = "Semaphore_Create")]
public static partial Semaphore Semaphore_Create();
[LibraryImport("jolt", EntryPoint = "Semaphore_Destroy")]
public static partial void Semaphore_Destroy(Semaphore self);
/// <inheritdoc cref="Semaphore.Release(uint)"/>
[LibraryImport("jolt", EntryPoint = "Semaphore_Release")]
public static partial void Semaphore_Release(Semaphore self, uint number);
/// <inheritdoc cref="Semaphore.Acquire(uint)"/>
[LibraryImport("jolt", EntryPoint = "Semaphore_Acquire")]
public static partial void Semaphore_Acquire(Semaphore self, uint number);
/// <inheritdoc cref="Semaphore.GetValue()"/>
[LibraryImport("jolt", EntryPoint = "Semaphore_GetValue")]
public static partial int Semaphore_GetValue(Semaphore self);
}
}
}