Commits

evhan  committed 2732eb5

make window size & pos setters foreign-safe

  • Participants
  • Parent commits 8512dfa

Comments (0)

Files changed (1)

   (define glfwGetWindowSize
     (foreign-lambda void glfwGetWindowSize s32vector s32vector))
   (define glfwSetWindowSize
-    (foreign-lambda void glfwSetWindowSize integer integer))
+    (foreign-safe-lambda void glfwSetWindowSize integer integer))
   (define glfwSetWindowPos
-    (foreign-lambda void glfwSetWindowPos integer integer))
+    (foreign-safe-lambda void glfwSetWindowPos integer integer))
   (define glfwIconifyWindow (foreign-safe-lambda void glfwIconifyWindow))
   (define glfwRestoreWindow (foreign-safe-lambda void glfwRestoreWindow))
   (define glfwSwapBuffers (foreign-safe-lambda void glfwSwapBuffers))
       glfwSetWindowSizeCallback
       (function void (integer integer))))
   (define glfwSetWindowCloseCallback
-    (foreign-lambda
+    (foreign-safe-lambda
       void
       glfwSetWindowCloseCallback
       (function integer (void))))
   (define glfwSetWindowRefreshCallback
-    (foreign-lambda
+    (foreign-safe-lambda
       void
       glfwSetWindowRefreshCallback
       (function void (void))))