mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-28 05:58:25 +01:00
SOURCE DUMP v1
This commit is contained in:
parent
bd62d51ec9
commit
fb20299e9d
1 changed files with 768360 additions and 0 deletions
|
|
@ -0,0 +1,18 @@
|
|||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Brutal.ImGuiApi.Backends;
|
||||
|
||||
public partial class GlfwBackend
|
||||
{
|
||||
private static partial class GlfwInterop
|
||||
{
|
||||
private const string MacOSLibraryName = "glfw";
|
||||
private const string WindowsLibraryName = "glfw3";
|
||||
|
||||
[LibraryImport(MacOSLibraryName, EntryPoint = "glfwGetCocoaWindow")]
|
||||
public static partial nint GetCocoaWindow(nint glfwWindow);
|
||||
|
||||
[LibraryImport(WindowsLibraryName, EntryPoint = "glfwGetWin32Window")]
|
||||
public static partial nint GetWin32Window(nint glfwWindow);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue