Skip to content

Commit

Permalink
doc: just to mention why we're doing all this!
Browse files Browse the repository at this point in the history
Chipmunk Physics has many functions. there are 47 functions which
return a cpVect (its internal 2d float). there are 347 function which
have one or more cpVect in its arguments. hence, the birth of
bind-adapters!
  • Loading branch information
kristianlm committed Oct 20, 2012
1 parent 8536cd3 commit 09cc006
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion bind-adapters.scm
@@ -1,5 +1,8 @@
;;; This is a helper-module to bind which provides `adapters` and
;;; helper functions to manipulate foreign argument types.
;;; helper functions to manipulate foreign argument types. Often,
;;; manually writing foreign-lambda* functions is the best option.
;;; However, sometimes there are just too many foreign functions to do
;;; this manually! That's when these adapters can be useful.

;;; Bind adapters are procedures that take a form as an argument and
;;; returns a new form or #f to not modify it.
Expand Down

0 comments on commit 09cc006

Please sign in to comment.