Commits

evhan committed 8512dfa

refer to glfw3 egg in README

  • Participants
  • Parent commits e993fc5

Comments (0)

Files changed (2)

 
 [GLFW](http://www.glfw.org/) bindings for Chicken Scheme.
 
+Note that this extension applies to Version 2 of the GLFW library. For
+an interface to GLFW Version 3, see the [glfw3][] egg.
+
 ### Installation
 
     $ git clone git://bitbucket.org/evhan/glfw.git
       (glfwWaitEvents)
       (COLORS!!!))
 
+### See Also
+
+* [glfw3][]
+
+[glfw3]: http://wiki.call-cc.org/egg/glfw3
+
 ### Author
 
 Evan Hanson <evhan@foldling.org>
   (define glfwGetVersion
     (foreign-lambda void glfwGetVersion s32vector s32vector s32vector))
   (define glfwOpenWindow
-    (foreign-lambda
+    (foreign-safe-lambda
       integer
       glfwOpenWindow
       integer
       integer))
   (define glfwOpenWindowHint
     (foreign-lambda void glfwOpenWindowHint integer integer))
-  (define glfwCloseWindow (foreign-lambda void glfwCloseWindow))
+  (define glfwCloseWindow (foreign-safe-lambda void glfwCloseWindow))
   (define glfwSetWindowTitle
     (foreign-lambda void glfwSetWindowTitle c-string))
   (define glfwGetWindowSize
     (foreign-lambda void glfwSetWindowSize integer integer))
   (define glfwSetWindowPos
     (foreign-lambda void glfwSetWindowPos integer integer))
-  (define glfwIconifyWindow (foreign-lambda void glfwIconifyWindow))
-  (define glfwRestoreWindow (foreign-lambda void glfwRestoreWindow))
+  (define glfwIconifyWindow (foreign-safe-lambda void glfwIconifyWindow))
+  (define glfwRestoreWindow (foreign-safe-lambda void glfwRestoreWindow))
   (define glfwSwapBuffers (foreign-safe-lambda void glfwSwapBuffers))
   (define glfwSwapInterval (foreign-lambda void glfwSwapInterval integer))
   (define glfwGetWindowParam