On Sat, Jun 26, 2010 at 4:53 AM, Seth Burleigh <s...@tewebs.com> wrote:

> Do callbacks work ? -  i tried to compile something with this in it (was
> in windows example):
> (ffi:defcallback (wndproc-proxy :stdcall)
>
[...]
> and received the below.
> /home/seth/.repo/test.c:69: error: ‘ecl_callback_0’ undeclared (first
> use in this function)
>

Hmm, it seems you are using mingw and it does not support __stdcall, the
flag that we use for the :stdcall calling convention (do you really need
it?).  I do not know a solution for this, but if you look at cmpcbk.lisp you
will find the offending code very easily -- maybe it is easy to change
ecl-cmp.h to add the appropriate definition for __stdcall.

Juanjo

-- 
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list

Reply via email to