bindGLFW_X11

Undocumented in source.
  1. enum bindGLFW_X11;
  2. enum bindGLFW_X11;
  3. enum bindGLFW_X11;
    version(BindGLFW_Dynamic)
    @nogc nothrow
    static if(!(bindWindows))
    static if(!(bindMac))
    static if(bindPosix && !bindAndroid)
    static if(!(glfwSupport >= GLFWSupport.glfw33))
    static if(!(glfwSupport >= GLFWSupport.glfw31))
    enum bindGLFW_X11 = q{ extern(C) @nogc nothrow { alias pglfwGetX11Display = Display* function(); alias pglfwGetX11Window = Window function(GLFWwindow* window); } __gshared { pglfwGetX11Display glfwGetX11Display; pglfwGetX11Window glfwGetX11Window; } @nogc nothrow bool loadGLFW_X11() { import bindbc.loader.sharedlib : errorCount; if(!isGLFWLoaded) return false; auto errCount = errorCount(); bindGLFWSymbol(cast(void**)&glfwGetX11Display, "glfwGetX11Display"); bindGLFWSymbol(cast(void**)&glfwGetX11Window,"glfwGetX11Window"); return errorCount() == errCount; } };

Meta