mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-28 14:08:25 +01:00
SOURCE DUMP v1
This commit is contained in:
parent
bd62d51ec9
commit
fb20299e9d
1 changed files with 768360 additions and 0 deletions
77
brutal.jolt/Brutal.Jolt/Generated/PInvoke/Semaphore.gen.cs
Normal file
77
brutal.jolt/Brutal.Jolt/Generated/PInvoke/Semaphore.gen.cs
Normal file
|
|
@ -0,0 +1,77 @@
|
|||
// <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
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Core/Semaphore.h#L35">Jolt/Core/Semaphore.h:35</see>
|
||||
/// <br/>
|
||||
/// <c>Semaphore()</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Constructor
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "Semaphore_Create")]
|
||||
public static partial Semaphore Semaphore_Create();
|
||||
[LibraryImport("jolt", EntryPoint = "Semaphore_Destroy")]
|
||||
public static partial void Semaphore_Destroy(Semaphore self);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Core/Semaphore.h#L39">Jolt/Core/Semaphore.h:39</see>
|
||||
/// <br/>
|
||||
/// <c>void Release(uint inNumber = 1)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Release the semaphore, signaling the thread waiting on the barrier that there may be work
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "Semaphore_Release")]
|
||||
public static partial void Semaphore_Release(Semaphore self, uint number);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Core/Semaphore.h#L42">Jolt/Core/Semaphore.h:42</see>
|
||||
/// <br/>
|
||||
/// <c>void Acquire(uint inNumber = 1)</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Acquire the semaphore inNumber times
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "Semaphore_Acquire")]
|
||||
public static partial void Semaphore_Acquire(Semaphore self, uint number);
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Core/Semaphore.h#L45">Jolt/Core/Semaphore.h:45</see>
|
||||
/// <br/>
|
||||
/// <c>inline int GetValue() const</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Get the current value of the semaphore
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[LibraryImport("jolt", EntryPoint = "Semaphore_GetValue")]
|
||||
public static partial int Semaphore_GetValue(Semaphore self);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue