projects
/
jscl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb3371e
)
ffi-intern-hook simplification
author
David Vázquez
<davazp@gmail.com>
Sat, 4 May 2013 11:42:34 +0000
(12:42 +0100)
committer
David Vázquez
<davazp@gmail.com>
Sat, 4 May 2013 11:42:34 +0000
(12:42 +0100)
src/ffi.lisp
patch
|
blob
|
history
diff --git
a/src/ffi.lisp
b/src/ffi.lisp
index
6dd8418
..
29862a8
100644
(file)
--- a/
src/ffi.lisp
+++ b/
src/ffi.lisp
@@
-26,9
+26,7
@@
;; provide a special lambda keyword
;; cl::&rest-vector to avoid list argument
;; consing, as well as allow inline declarations.
- (fset symbol
- (eval `(lambda (&rest ,args)
- (apply (%js-vref ,sym-name) ,args))))
+ (fset symbol (eval `(%js-vref ,sym-name)))
;; Define it as a symbol macro to access to the
;; Javascript variable literally.
(%define-symbol-macro symbol `(%js-vref ,(string symbol))))))