I think that on windows because of name manglings in __cdecl it is not 
possible? Or it is?

----
Mahmut Bulut

> On 24 Apr 2014, at 14:16, Henri Sivonen <[email protected]> wrote:
> 
> The documentation for the FFI seems focused on using C code in a
> program whose main() is in Rust. Can Rust  be used for implementing a
> shared library that implements a C ABI for use by programs whose
> main() is not in Rust (i.e. the caller sees a C ABI and doesn't know
> about Rust)? If yes, can a C program use multiple such libraries so
> that their Rust runtime bits don't conflict? Is there a tool for
> generating .h files for C-callable Rust functions and their argument
> data types?
> 
> -- 
> Henri Sivonen
> [email protected]
> https://hsivonen.fi/
> _______________________________________________
> Rust-dev mailing list
> [email protected]
> https://mail.mozilla.org/listinfo/rust-dev
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to