THe whole set of bindigns.
This commit is contained in:
23
SpaceWizards.Sodium.Interop/Generated/VtblIndexAttribute.cs
Normal file
23
SpaceWizards.Sodium.Interop/Generated/VtblIndexAttribute.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
|
||||
namespace SpaceWizards.Sodium.Interop
|
||||
{
|
||||
/// <summary>Defines the vtbl index of a method as it was in the native signature.</summary>
|
||||
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
|
||||
[Conditional("DEBUG")]
|
||||
internal sealed partial class VtblIndexAttribute : Attribute
|
||||
{
|
||||
private readonly uint _index;
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="VtblIndexAttribute" /> class.</summary>
|
||||
/// <param name="index">The vtbl index of a method as it was in the native signature.</param>
|
||||
public VtblIndexAttribute(uint index)
|
||||
{
|
||||
_index = index;
|
||||
}
|
||||
|
||||
/// <summary>Gets the vtbl index of a method as it was in the native signature.</summary>
|
||||
public uint Index => _index;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user