Kartikaya Gupta 163ff0911b Update readme
2017-04-05 18:28:30 -04:00
2017-03-07 10:47:30 -05:00
2017-03-07 10:47:30 -05:00
2017-03-02 16:22:44 -05:00
2017-04-05 18:28:30 -04:00

This project can be used to generate C bindings for rust code. In particular it will be used for generating a C API for webrender. It is not yet fully complete.

Steps to use:

  • check out the bindgen branch of https://github.com/staktrace/gecko-dev (this has a few patches that make binding generation easier)
  • cargo run path/to/bindgen-branch/gfx/webrender_bindings > path/to/bindgen-branch/gfx/webrender_bindings/webrender_ffi_autogen.h
  • Try to compile the bindgen branch. Deal with the errors by fixing bindgen

Future work:

  • Make bindgen generate even more things, so that webrender_ffi.h is minimal.
S
Description
No description provided
Readme 3.5 MiB
Languages
Rust 44.9%
C 33.8%
Cython 12.7%
C++ 8.5%
CMake 0.1%