about summary refs log tree commit diff
path: root/src/doc/book/ffi.md
AgeCommit message (Collapse)AuthorLines
2017-02-13Port TRPL to mdbookSteve Klabnik-767/+0
1. move everything under a src directory 2. add README.md to the SUMMARY.md
2017-01-29Minor grammar fix 'can not' -> 'cannot'Wilfred Hughes-3/+3
The previous version suggested that the compiler chooses not to check, rather than being unable to check.
2017-01-27Fix a few links in the docsOliver Middleton-1/+1
2017-01-12[libcollections] [doc] Fix typo in documentationBehnam Esfahbod-1/+1
2016-12-27Document foreign variadic functions in TRPL and the reference.Corey Farwell-0/+25
Fixes https://github.com/rust-lang/rust/issues/38485.
2016-12-07Update book/ffi to use catch_unwindCobrand-9/+14
r? @GuillaumeGomez The doc mentioned to spawn a new thread instead of using catch_unwind, which has been the recommended way to catch panics for foreign function interfaces for a few releases now.
2016-11-14Auto merge of #37755 - polo-language:doc-punct, r=GuillaumeGomezbors-7/+7
Improved punctuation, capitalization, and sentence structure of code snippet comments r? @GuillaumeGomez
2016-11-13Improved punctuation, capitalization, and sentence structure of code snippet ↵Angelo Polo-7/+7
comments
2016-11-12Minor grammar fix to ffi.mdReza Akhavan-1/+1
2016-09-09Issue deprecation warnings for safe accesses to extern staticsVadim Petrochenkov-1/+1
2016-08-30Change ABI string from sysV64 to sysv64CensoredUsername-1/+1
2016-08-30Allow specification of the system V AMD64 ABI constraint.CensoredUsername-0/+1
This can be specified using `extern sysV64 fn` on all platforms
2016-07-27remove claim about searching through nested fields for the nullable type, ↵Alex Burka-7/+9
even though that is how it works
2016-07-27fix typoAlex Burka-1/+1
2016-07-27revert libc changesAlex Burka-9/+13
2016-07-27hack to make example compileAlex Burka-1/+5
2016-07-27change confusing wording about discriminantAlex Burka-3/+3
2016-07-27extern fns require named parametersAlex Burka-1/+1
Not sure the example is going to stay, but I can try to pass Travis for the bragging rights.
2016-07-27foreign function interface interfaceAlex Burka-1/+1
2016-07-27not just a single fieldAlex Burka-1/+1
2016-07-27recursionAlex Burka-4/+4
2016-07-27expand nullable pointer exampleAlex Burka-4/+24
2016-07-27generics-agnostic descriptionAlex Burka-8/+6
2016-07-27book/ffi: nullable pointer, libc cleanupsAlex Burka-21/+46
Expand the "nullable pointer optimization" section with a code example. Change examples to use std::os::raw instead of libc, when applicable.
2016-07-13doc: ffi referenced rust-snappy can not compile吴冉波-2/+56
r? @steveklabnik The referenced code https://github.com/thestinger/rust-snappy can not work. Maybe it's the old rust version? I do not know. So I try to rewrite these test cases. If it is not what you originally meaning, just ignored it.
2016-06-29NULL not back-tickedAlexander Merritt-1/+1
2016-06-15Correct use of 'nul' 'null' and capitalizationAlexander Merritt-3/+3
r? @steveklabnik
2016-05-18Rust syntax coloring for some ignore, should-panic and no-run snippets.Steven Burns-6/+6
2016-01-16Auto merge of #30567 - steffengy:master, r=alexcrichtonbors-0/+2
Add support to use functions exported using vectorcall. This essentially only allows to pass a new LLVM calling convention from rust to LLVM. ```rust extern "vectorcall" fn abc(param: c_void); ``` references ---- http://llvm.org/docs/doxygen/html/CallingConv_8h_source.html https://msdn.microsoft.com/en-us/library/dn375768.aspx
2016-01-11add feature gate "abi_vectorcall" for the vectorcall calling conventionSteffen-0/+1
2016-01-09Remove many instances of 'just'Steve Klabnik-2/+2
Doing so is considered weaker writing. Thanks @Charlotteis! Fixes #28810
2015-12-26llvm: Add support for vectorcall (X86_VectorCall) conventionSteffen-0/+1
2015-11-28doc(book/ffi): remove duplicate link reference `[libc]'xd1le-2/+0
2015-11-19src/doc/trpl -> src/doc/bookSteve Klabnik-0/+629
The book was located under 'src/doc/trpl' because originally, it was going to be hosted under that URL. Late in the game, before 1.0, we decided that /book was a better one, so we changed the output, but not the input. This causes confusion for no good reason. So we'll change the source directory to look like the output directory, like for every other thing in src/doc.