2017-04-05 18:14:21 -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:14:21 -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 > webrender_ffi_autogen.h
  • Put the generated file into gfx/webrender_bindings and #include it from webrender_ffi.h
  • A bunch of the stuff from webrender_ffi.h can now be removed
Description
No description provided
Readme 3.5 MiB
Languages
Rust 44.9%
C 33.8%
Cython 12.7%
C++ 8.5%
CMake 0.1%