csbindgen/dotnet-sandbox/BindingGroupExtensions.cs

65 lines
1.5 KiB
C#
Raw Permalink Normal View History

2023-04-15 10:45:52 +01:00

2023-04-14 17:54:15 +01:00
2023-04-15 16:36:08 +01:00
using System.Diagnostics;
using System.Runtime.CompilerServices;
2023-04-15 10:45:52 +01:00
namespace Physx
2023-04-14 17:54:15 +01:00
{
2023-04-15 10:45:52 +01:00
[GroupedNativeMethodsGenerator.GroupedNativeMethods(removePrefix: "Px")]
2023-04-15 15:32:00 +01:00
internal static unsafe partial class LibPhysx
2023-04-14 17:54:15 +01:00
{
2023-04-15 10:45:52 +01:00
}
}
2023-04-14 17:54:15 +01:00
2023-04-15 10:45:52 +01:00
namespace CsBindgen
{
[GroupedNativeMethodsGenerator.GroupedNativeMethods(removePrefix: "b3")]
internal static unsafe partial class LibBullet3
{
}
2023-04-14 17:54:15 +01:00
2023-04-15 10:45:52 +01:00
[GroupedNativeMethodsGenerator.GroupedNativeMethods(removePrefix: "quiche_")]
internal static unsafe partial class LibQuiche
{
}
2023-04-14 17:54:15 +01:00
2023-04-15 10:45:52 +01:00
[GroupedNativeMethodsGenerator.GroupedNativeMethods(removePrefix: "sqlite3_")]
public static unsafe partial class LibSqlite3
{
}
2023-04-15 16:36:08 +01:00
[GroupedNativeMethodsGenerator.GroupedNativeMethods()]
internal static unsafe partial class NativeMethods
{
}
2023-04-15 10:45:52 +01:00
}
2023-04-14 17:54:15 +01:00
2023-04-15 10:45:52 +01:00
namespace PixivApi.ImageFile
{
[GroupedNativeMethodsGenerator.GroupedNativeMethods(removePrefix: "png_")]
internal static unsafe partial class LibPng16
{
2023-04-14 17:54:15 +01:00
}
}
2023-04-15 10:45:52 +01:00
namespace Jolt
2023-04-14 17:54:15 +01:00
{
2023-04-15 10:45:52 +01:00
[GroupedNativeMethodsGenerator.GroupedNativeMethods(removePrefix: "JPH_")]
internal static unsafe partial class NativeMethods
2023-04-14 17:54:15 +01:00
{
}
2023-04-15 16:36:08 +01:00
}
namespace CsBindgen
{
internal static unsafe class NativeMethodsGroupingExtensions2
{
[DebuggerStepThrough]
public static void DeleteContext2(this ref global::CsBindgen.Context @context)
{
NativeMethods.delete_context((global::CsBindgen.Context*)Unsafe.AsPointer(ref @context));
}
}
2023-04-14 17:54:15 +01:00
}