| 860 | } |
| 861 | |
| 862 | GLFWAPI GLFWcharfun glfwSetCharCallback(GLFWwindow* handle, GLFWcharfun cbfun) |
| 863 | { |
| 864 | _GLFWwindow* window = (_GLFWwindow*) handle; |
| 865 | assert(window != NULL); |
| 866 | |
| 867 | _GLFW_REQUIRE_INIT_OR_RETURN(NULL); |
| 868 | _GLFW_SWAP_POINTERS(window->callbacks.character, cbfun); |
| 869 | return cbfun; |
| 870 | } |
| 871 | |
| 872 | GLFWAPI GLFWcharmodsfun glfwSetCharModsCallback(GLFWwindow* handle, GLFWcharmodsfun cbfun) |
| 873 | { |
no outgoing calls
no test coverage detected