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 details)
File details
Details for the file cxx2rs-0.1.tar.gz
.
File metadata
- Download URL: cxx2rs-0.1.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1b8c362781bc39ea66aa165ffaa0b8bb42ec627a437f8e1976f15ba0ba6394a |
|
MD5 | d6c4f96ad8786f6a97816cf77241add6 |
|
BLAKE2b-256 | dd89f3a9e8bd0fbcf9cae02a9d124992703c8674a914273c9471fce9234b7ab9 |