bindGLFW_Mir

Undocumented in source.
version(BindGLFW_Dynamic)
@nogc nothrow
static if(!(bindWindows))
static if(!(bindMac))
static if(bindPosix && !bindAndroid)
static if(glfwSupport == GLFWSupport.glfw32)
enum bindGLFW_Mir = q{ extern(C) @nogc nothrow { alias pglfwGetMirDisplay = MirConnection* function(); alias pglfwGetMirMonitor = int function(GLFWmonitor* monitor); alias pglfwGetMirWindow = MirSurface* function(GLFWwindow* window); } __gshared { pglfwGetMirDisplay glfwGetMirDisplay; pglfwGetMirMonitor glfwGetMirMonitor; pglfwGetMirWindow glfwGetMirWindow; } @nogc nothrow bool loadGLFW_Mir() { import bindbc.loader.sharedlib : errorCount; if(!isGLFWLoaded) return false; auto errCount = errorCount(); bindGLFWSymbol(cast(void**)&glfwGetMirDisplay, "glfwGetMirDisplay"); bindGLFWSymbol(cast(void**)&glfwGetMirMonitor, "glfwGetMirMonitor"); bindGLFWSymbol(cast(void**)&glfwGetMirWindow,"glfwGetMirWindow"); return errorCount() == errCount; } };

Meta