A rust-binding generator for C/C++ files
Project description
cxx2rs
======
A rust-binding generator for C/C++ files
Installation:
pip install git+https://github.com/manuels/cxx2rs.git
Use it like this:
cxx2rs glib-2.0 /usr/include/glib-2.0/glib/gmain.h `pkg-config --cflags-only-I glib-2.0` > gmain.rs
^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^
| | | |
| | compiler args (optional) rust include file
| C/C++ include file
library name (rust's #[link(name="glib-2.0")]
======
A rust-binding generator for C/C++ files
Installation:
pip install git+https://github.com/manuels/cxx2rs.git
Use it like this:
cxx2rs glib-2.0 /usr/include/glib-2.0/glib/gmain.h `pkg-config --cflags-only-I glib-2.0` > gmain.rs
^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^
| | | |
| | compiler args (optional) rust include file
| C/C++ include file
library name (rust's #[link(name="glib-2.0")]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cxx2rs-0.1.tar.gz
(4.9 kB
view hashes)