code: def destroy_window(window):
      '''
      Destroys the specified window and its context.
  
      Wrapper for:
          void glfwDestroyWindow(GLFWwindow* window);
      '''
      _glfw.glfwDestroyWindow(window)
      window_addr = ctypes.cast(ctypes.pointer(window),
                                ctypes.POINTER(ctypes.c_ulong)).contents.value
      for callback_repository in _callback_repositories:
          if window_addr in callback_repository:
              del callback_repository[window_addrf destroy_window(window):
      '''
      Destroys the specified window and its context.
  
      Wrapper for:
          void glfwDestroyWindow(GLFWwindow* window);
      '''
      _glfw.glfwDestroyWindow(window)
      window_addr = ctypes.cast(ctypes.pointer(window),
                                ctypes.POINTER(ctypes.c_ulong)).contents.value
      for callback_repository in _callback_repositories:
          if window_addr in callback_repository:
              del callback_repository[window_addr]
docs: Destroys the specified window and its context.
  
      Wrapper for:
          void glfwDestroyWindow(GLFWwindow* window);