diff --git a/CHANGELOG.md b/CHANGELOG.md index 8c3197c..365d052 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # [master] +# [0.3.3] - 2016-05-03 + +## Fixed + +- arbitrarily nested `const` pointers are handled correctly +- function declarations can now contain patterns + - such as `fn foo(mut a: ...` +- zero argument functions are now written out as `func(void)` + # [0.3.2] - 2016-03-02 ## Changed @@ -49,7 +58,8 @@ - old: `#![plugin(cheddar(path,to,file))]` - new: `#![plugin(cheddar(dir = "path/to", file = "file.h"))]` -[master]: https://github.com/Sean1708/rusty-cheddar/compare/v0.3.2...HEAD +[master]: https://github.com/Sean1708/rusty-cheddar/compare/v0.3.3...HEAD +[0.3.3]: https://github.com/Sean1708/rusty-cheddar/compare/v0.3.2...v0.3.3 [0.3.2]: https://github.com/Sean1708/rusty-cheddar/compare/v0.3.1...v0.3.2 [0.3.1]: https://github.com/Sean1708/rusty-cheddar/compare/v0.3.0...v0.3.1 [0.3.0]: https://github.com/Sean1708/rusty-cheddar/compare/v0.2.0...v0.3.0 diff --git a/README.md b/README.md index fbc870c..0e6b8e5 100644 --- a/README.md +++ b/README.md @@ -118,7 +118,7 @@ pub enum Colours { Yellow, } -// This would fail if it was #[repr(C)]. +// This would fail is it was #[repr(C)]. pub enum Tastes { Savoury(T), Sweet, @@ -269,9 +269,11 @@ You must not put types defined in other modules in an exported type signature wi behind an opaque struct. This is because the C compiler must know the layout of the type and rusty-cheddar can not yet search other modules. -The very important exception to this rule is `libc`, types used from `libc` _must_ be qualified -(e.g. `libc::c_void`) so that they can be converted properly. - +The very important exception to this rule are the C ABI types defined in +the `libc` crate and `std::os::raw`. Types from these two modules _must_ +be fully qualified (e.g. `libc::c_void` or `std::os::raw::c_longlong) +so that they can be converted properly. Importing them with a `use` +statement will not work. [the cargo docs]: http://doc.crates.io/build-script.html [repo]: https://github.com/Sean1708/rusty-cheddar