Luís Oliveira
Also, define-foreign-library should probably be extended to take a calling convention argument
Indeed, that would be the next thing. However, how much Lisps let you choose that? Am I wrong or is this only a MS-Windows host issue? MacOS?
What does Allegro do?
Regards, Jörg Höhle.
On 2006-jan-09, at 14:31, Hoehle, Joerg-Cyril wrote:
AFAICT, this is mostly a Windows issue.
Allegro resets the stack pointer to whatever value it had before pushing the foreign call's arguments to the stack. This approach works for either stdcall or cdecl.