Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-12-23 | Fix build | Edward Barnard | |
2014-12-20 | Adds support for nested structs and unions. | Christopher Chambers | |
parser.rs - Adds detection of nested composite fields so that they can be handled specially during generation (see visit_composite). - Changes to manual recursion through Clang's cursors so that top-level and nested composites can be handled separately. gen.rs - Improves generation for nested composite types. - Unifies handling of structs and unions somewhat. types.rs - Adds CompKind to distinguish between structs and unions. - Updates CompInfo to use CompKind rather than a bool. | |||
2014-12-19 | Improves argument name parsing in function pointers. | Christopher Chambers | |
Previously, all function pointer types always had their arguments bound as arg1, arg2, etc. This change preserves the argument names, when they are available. parser.rs - Uses the type cursor to visit children and gather argument names and types. tests/func_ptr.rs - Binds tests/headers/func_ptr.h and tests/headers/func_ptr_in_struct.h and ensures that argument names are correctly bound. | |||
2014-12-18 | Updates tests in macro.rs and cmath.rs. | Christopher Chambers | |
macro.rs - Removes make_string_vec in favor of the vec! macro. - Updates test_parse_process_args with vec!. cmath.rs - Adds needed 'extern crate libc;' declaration. - bindgen! invocation now references math.h as "/usr/include/math.h", which should be pretty universal. Clang was not able to find the file using just "math.h". - Moves contents of main method into a #[test] method. | |||
2014-12-15 | Correct output for empty structs. | Andrew Cann | |
This fixes a bug where empty C structs would be outputted as struct Struct_Foo { } instead of struct Struct_Foo; | |||
2014-12-15 | Fix for rustc update 2014-12-15 | Andrew Cann | |
2014-12-13 | Add #[deriving(Copy)] to rustified structs and unions | Andrew Cann | |
2014-12-13 | Fix build for rustc 2014-12-13 | Andrew Cann | |
2014-12-03 | ast::TyPath breakage | György Andrasek | |
2014-11-20 | Fixes for rustc update | Andrew Cann | |
2014-11-18 | Add enum namespace | Jyun-Yan You | |
2014-11-17 | Fix build | Jyun-Yan You | |
2014-11-18 | Fix for rust nightly | Brendan Zabarauskas | |
2014-11-07 | Fix build for compiler updates | Andrew Cann | |
2014-11-03 | Generate calling-convention-aware binding | klutzy | |
With this patch, rust-bindgen generates extern functions with calling conventions specified in header. This patch also removes `-abi` flag. | |||
2014-10-30 | Rename `fail!` to `panic!` | Jyun-Yan You | |
2014-10-29 | Fix build | Jorge Aparicio | |
Fixes breakage caused by rust-lang/rust#18229 and rust-lang/rust#18365 | |||
2014-10-13 | Fix build | Jyun-Yan You | |
2014-10-10 | Replace `static` with `const` | Jyun-Yan You | |
2014-10-06 | Remove some warnings | Jyun-Yan You | |
2014-10-03 | Gc -> Rc | György Andrasek | |
2014-10-03 | Fix build and replace `find_or_insert_with` with `entry` | Jyun-Yan You | |
2014-09-30 | Fix build and remove some warnings | Jyun-Yan You | |
2014-09-25 | Fix deprecated items | Edward Barnard | |
2014-09-18 | Fix deprecated items | Edward Barnard | |
2014-09-18 | Update for ast gc removal | Edward Barnard | |
2014-09-12 | Reduce some warnings | Jyun-Yan You | |
2014-09-04 | Merge branch 'master' of https://github.com/alexchandel/rust-bindgen | Jyun-Yan You | |
2014-07-05 | Fix binary src location for cargo build | Alex Chandel | |
2014-07-04 | Build libbindgen and bindgen with Cargo | Alex Chandel | |