rusty-cheddar v0.2.0 Release Notes
Release Date: 2015-12-28 // over 8 years ago-
โ Added
- ๐ support for function pointers
- ๐ support for opaque structs
#[repr(C)] pub struct Foo(Vec<T>);
typedef struct Foo Foo;
- the ability to hide your C API behind a module
- can only be one module deep at this point in time
๐ Changed
- ๐ plugin arguments
- you must now use key value pairs to specify
file
anddir
- old:
#![plugin(cheddar(path,to,file))]
- new:
#![plugin(cheddar(dir = "path/to", file = "file.h"))]
- you must now use key value pairs to specify