docs: def get_window_user_pointer(window):
      """
      Returns the user pointer of the specified window.
  
      Wrapper for:
          void* glfwGetWindowUserPointer(GLFWwindow* window);
      """
  
      window_addr = ctypes.cast(ctypes.pointer(window),
                                ctypes.POINTER(ctypes.c_long)).contents.value
  
      if window_addr in _window_user_data_repository:
          data = _window_user_data_repository[window_addr]
          is_wrapped_py_object = data[0]
          if is_wrapped_py_object:
              return data[1]
      return _glfw.glfwGetWindowUserPointer(window)