24 Commits

Author SHA1 Message Date
Kartikaya Gupta
af82991c7b Implement array types with int literal sizes 2017-04-04 16:04:20 -04:00
Kartikaya Gupta
362835251d Move warning dumps to stderr 2017-04-04 15:01:36 -04:00
Kartikaya Gupta
c66c326601 Remove the sample input as it no longer works with the binding generator. Use gfx/webrender_bindings from https://github.com/staktrace/gecko-dev/tree/bindgen 2017-04-04 14:52:28 -04:00
Kartikaya Gupta
3c50348e92 Generate template parameters for generic types 2017-04-04 14:22:54 -04:00
Kartikaya Gupta
2eb02370a8 Convert generic structs to templates 2017-04-04 14:22:54 -04:00
Ryan Hunt
6787a93fa2 Add a comment explaing rust_lib 2017-04-04 14:10:59 -04:00
Ryan Hunt
93b3a257d1 Use rust_lib for parsing 2017-04-04 14:10:59 -04:00
Ryan Hunt
674fa3ece2 Add a rust lib parser for handling whole library parsing 2017-04-04 14:10:59 -04:00
Kartikaya Gupta
dad4ecbad8 Add struct conversion 2017-04-04 13:05:25 -04:00
Kartikaya Gupta
fa1a2d911e Typedef ImageKey to WrImageKey 2017-04-04 12:37:42 -04:00
Kartikaya Gupta
dcc308c6a6 Typedef RenderApi to WrAPI 2017-04-04 12:08:38 -04:00
Kartikaya Gupta
875e881221 Support c_void* 2017-04-04 12:04:56 -04:00
Kartikaya Gupta
39ca640b03 Add WR_DESTRUCTOR_SAFE_FUNC stuff 2017-04-04 11:53:55 -04:00
Kartikaya Gupta
b162d488b3 More typedefs to bring the generated code closer to what we already have in webrender_ffi.h 2017-04-04 11:42:59 -04:00
Kartikaya Gupta
8bf330163a Add a typedef so as to simplify binding generation 2017-04-04 11:02:14 -04:00
Kartikaya Gupta
d7f7af4807 Fix missing C-ABI declaration in sample input 2017-04-04 11:01:59 -04:00
Kartikaya Gupta
3d00490585 Ensure the function uses a C ABI 2017-04-04 10:50:28 -04:00
Kartikaya Gupta
3c0616d87b Remove src/bindings.rs, put an updated copy in a sample-input folder 2017-04-04 10:47:17 -04:00
Kartikaya Gupta
ccea723a9a Run rustfmt 2017-04-04 10:31:45 -04:00
Kartikaya Gupta
5b688b1623 Add WR_INLINE and WR_FUNC decorations 2017-04-04 10:27:50 -04:00
Kartikaya Gupta
af1bc992d6 Refactor has_no_mangle to make it easier to match repr(C) which we'll need later 2017-04-04 10:24:05 -04:00
Jeff Muizelaar
4c559a4e47 Map f32 2017-04-04 10:15:46 -04:00
Jeff Muizelaar
703bc18491 Remove old output 2017-03-07 10:47:30 -05:00
Jeff Muizelaar
215d3a987b Initial commit 2017-03-02 16:22:44 -05:00