bindGLFW_Cocoa

Undocumented in source.
version(BindGLFW_Dynamic)
@nogc nothrow
static if(!(bindWindows))
static if(bindMac)
static if(!(glfwSupport >= GLFWSupport.glfw31))
enum bindGLFW_Cocoa = q{ extern(C) @nogc nothrow alias pglfwGetCocoaWindow = id function(GLFWwindow* window); __gshared pglfwGetCocoaWindow glfwGetCocoaWindow; @nogc nothrow bool loadGLFW_Cocoa() { import bindbc.loader.sharedlib : errorCount; if(!isGLFWLoaded) return false; auto errCount = errorCount(); bindGLFWSymbol(cast(void**)&glfwGetCocoaWindow,"glfwGetCocoaWindow"); return errorCount() == errCount; } };

Meta