Skip to content

Split current "FFI" chapter, cover more topics #114

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
5 tasks
japaric opened this issue Jun 17, 2014 · 2 comments
Closed
5 tasks

Split current "FFI" chapter, cover more topics #114

japaric opened this issue Jun 17, 2014 · 2 comments

Comments

@japaric
Copy link
Member

japaric commented Jun 17, 2014

The current chapter needs to be split:

  • #[link] attribute, ffi functions are unsafe
  • safe wrappers

These topics also need to be covered:

  • repr(C) attribute for structs
  • callbacks
  • exposing rust functions extern fn to C (does this belong here?)
@japaric japaric mentioned this issue Jun 17, 2014
52 tasks
@japaric japaric changed the title Topics for the "FFI" chapter Split current "FFI" chapter, cover more topics Jun 17, 2014
@bbrodriges
Copy link

It would be great if you could add an example to FFI chapter based of this Stackoverflow question http://stackoverflow.com/questions/26117197/create-interface-to-c-function-pointers-in-rust

@steveklabnik
Copy link
Member

I'm going to close this in favor of #643

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants