diff --git a/include/GLFW/glfw3native.h b/include/GLFW/glfw3native.h index 8118e6e72..03fac1525 100644 --- a/include/GLFW/glfw3native.h +++ b/include/GLFW/glfw3native.h @@ -228,7 +228,7 @@ GLFWAPI id glfwGetCocoaWindow(GLFWwindow* window); * * @ingroup native */ -const char* const* glfwGetCocoaOpenedFilenames(void); +const char* const* glfwGetOpenedFilenames(void); #endif #if defined(GLFW_EXPOSE_NATIVE_NSGL) diff --git a/src/cocoa_init.m b/src/cocoa_init.m index ba2ec5c4d..6c8866645 100644 --- a/src/cocoa_init.m +++ b/src/cocoa_init.m @@ -623,7 +623,7 @@ const char* _glfwPlatformGetVersionString(void) ////// GLFW native API ////// ////////////////////////////////////////////////////////////////////////// -const char* const* glfwGetCocoaOpenedFilenames(void) +const char* const* glfwGetOpenedFilenames(void) { return (const char* const*) _glfw.ns.openedFilenames; }