Commit c2362a02 authored by Kartikaya Gupta's avatar Kartikaya Gupta
Browse files

Add a basic README

parent 841f83bb
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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment