1 Jan 2006 06:11
Error with compiled to abcl files
Berlin Brown <berlin.brown <at> gmail.com>
2006-01-01 05:11:41 GMT
2006-01-01 05:11:41 GMT
I am running code that works fine when not compiled to an abcl binary
file. (note: I am doing this through asdf).
But, when I compile the file, it doesnt seem to recognize the lambda
calls. Everything else seems to work. Normally, I will get the
error, "Wrong number arguments, even though the arguments are
right..."
For example:
(defun action-listener (action-func)
(jinterface-implementation
(jclass *listener*) "actionPerformed"
(lambda (event)
(funcall action-func))))
The (lambda (event) ... works fine when not compiled. But, once I
compile, I get the error:
"Wrong number of arguments for."
What do you think?
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
RSS Feed