Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
37 changes: 0 additions & 37 deletions sources/OpenAL/OpenAL/AL.gen.cs

This file was deleted.

37 changes: 0 additions & 37 deletions sources/OpenAL/OpenAL/ALContext.gen.cs

This file was deleted.

37 changes: 37 additions & 0 deletions sources/OpenAL/OpenAL/Al.gen.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// Generated using the OpenAL Soft headers and corresponding dependencies.
// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
// being header-derived only, implementations of the headers may have a less permissive license.
using System;
using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Silk.NET.Core.Loader;

namespace Silk.NET.OpenAL;

partial class Al(INativeContext nativeContext) : IDisposable
{
public partial class DllImport : IAl.Static
{
static DllImport() => LoaderInterface.RegisterHook(Assembly.GetExecutingAssembly());
}

public partial class ThisThread : IAl.Static
{
public static ThreadLocal<IAl> Underlying { get; } = new(ContextFactory);

public static void MakeCurrent(IAl ctx) => Underlying.Value = ctx;

private static partial IAl ContextFactory();
}

private readonly unsafe void*[] _slots = new void*[297];

public static IAl Create(INativeContext ctx) => new Al(ctx);

/// <inheritdoc/>
public void Dispose() => nativeContext.Dispose();
}
37 changes: 37 additions & 0 deletions sources/OpenAL/OpenAL/AlContext.gen.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// Generated using the OpenAL Soft headers and corresponding dependencies.
// Original source is licensed under the LGPL 2.0 license. Please note that while bindings are able to be MIT due to
// being header-derived only, implementations of the headers may have a less permissive license.
using System;
using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Silk.NET.Core.Loader;

namespace Silk.NET.OpenAL;

partial class AlContext(INativeContext nativeContext) : IDisposable
{
public partial class DllImport : IAlContext.Static
{
static DllImport() => LoaderInterface.RegisterHook(Assembly.GetExecutingAssembly());
}

public partial class ThisThread : IAlContext.Static
{
public static ThreadLocal<IAlContext> Underlying { get; } = new(ContextFactory);

public static void MakeCurrent(IAlContext ctx) => Underlying.Value = ctx;

private static partial IAlContext ContextFactory();
}

private readonly unsafe void*[] _slots = new void*[35];

public static IAlContext Create(INativeContext ctx) => new AlContext(ctx);

/// <inheritdoc/>
public void Dispose() => nativeContext.Dispose();
}
106 changes: 0 additions & 106 deletions sources/OpenAL/OpenAL/Enums/ALCEnum.gen.cs

This file was deleted.

Loading