[Haskell-cafe] FFI, C/C++ and undefined references
Bulat Ziganshin
bulat.ziganshin at gmail.com
Thu Jan 14 02:57:54 EST 2010
Hello Brandon,
Thursday, January 14, 2010, 7:40:45 AM, you wrote:
> Really, the only reason in this case is that there is no equivalent
> for `extern "C"' that you can apply to a function definition, only to
> a declaration
it works with GCC:
extern "C" int c_szOpenArchive (TABI_ELEMENT* params)
{
....
}
--
Best regards,
Bulat mailto:Bulat.Ziganshin at gmail.com
More information about the Haskell-Cafe
mailing list