text: #include <mex.h>
  #include "GLFW/glfw3.h"
  #include <stdint.h>
  
  void mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[])
  {
      GLFWwindow *window;
      
      if (nrhs != 1)
      {
          mexErrMsgIdAndTxt("glfw:usage", "Usage: glfwMakeContextCurrent(window)");
          return;
      }
      
      window = (GLFWwindow *)*((uint64_t *)mxGetData(prhs[0]));
      
      glfwMakeContextCurrent(window);
  }