FLI usage of stdcall functions
I seem to remember a way to do this, but can't find it in the documentation at the moment. Isn't there a way for the FLI to put the necessary tokens and byte count into the function name? It is late, so in case this isn't making any sense, here's an example:(define-foreign-function (lib-init "LibInit")
()
:result-type :void
:calling-convention :stdcall
:language :ansi-c)
However, the system exported to the DLL really isn't "LibInit", but rather "_LibInit@0". Does LispWorks recognize this with :stdcall and alter the function name accordingly, or do I need to do this by hand?
Jeff M.
--
massung@gmail.com