mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
34 lines
1.2 KiB
C#
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);
|
|
}
|
|
}
|
|
}
|