11 Commits

Author SHA1 Message Date
Adrian Wong
9b1fd8ecca Fix missing C header for char32_t 2019-12-02 19:55:04 +01:00
Daisuke Kato
1765130a60 remove unnecesary "`" from docs.md 2019-10-20 14:44:29 +02:00
Adrian Wong
087d36f32a Map char to char32_t
Rust's `char` is 32 bits wide, but `wchar_t` on Windows is 16.
Avoid truncation by mapping `char` to `char32_t`.
2019-10-04 10:39:31 +02:00
Rasmus Eneman
89e1d970b0 Add using_namespaces to documentation 2019-09-02 21:50:10 +02:00
Emilio Cobos Álvarez
b2efcc4051 ir: Add an option to generate an empty, default constructor for tagged enums.
This allows to clean up a pattern that has been showing up lately, see
occurrences of:

  https://searchfox.org/mozilla-central/rev/9775cca0a10a9b5c5f4e15c8f7b3eff5bf91bbd0/servo/ports/geckolib/cbindgen.toml#329
2019-08-25 17:05:22 +02:00
yelite
65fbb25638 Fix typo in docs 2019-08-03 17:37:55 +02:00
Emilio Cobos Álvarez
5f8e027290
rename to extra_bindings per IRC discussion. 2019-06-25 21:33:19 +02:00
Emilio Cobos Álvarez
16b2a25442
Turn the option into a whitelist rather than an on / off switch. 2019-06-25 21:28:12 +02:00
Emilio Cobos Álvarez
0bcd54f9c3
Add an option to generate consts / globals / fn from parsed dependencies.
This is a limitation that may not be useful if you're using it to parse known
dependencies.
2019-06-25 21:28:11 +02:00
Alexis Beingessner
371c0ec277 add template cbindgen.toml 2019-06-11 19:44:27 -04:00
Alexis Beingessner
b1de604581 Add comprehensive user docs, smooth out README 2019-06-11 18:23:54 -05:00