A rust-binding generator for C/C++ files
Project description
cxx2rs
A rust-binding generator for C/C++ files
Installation:
pip install cxx2rs
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")]
Changelog
0.3 (18/04/2015)
Use bitflags for C enums
0.2 (22/02/2015)
Fix packaging
0.1 (22/02/2015)
Initial version
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.3.6.tar.gz
(12.3 kB
view details)
File details
Details for the file cxx2rs-0.3.6.tar.gz
.
File metadata
- Download URL: cxx2rs-0.3.6.tar.gz
- Upload date:
- Size: 12.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a3e537d4b1498ca913b21dc7c700a6b80f18289c90812e4d1bafac736723f47a |
|
MD5 | 9988e13de267234e4642734d06cbc26c |
|
BLAKE2b-256 | c23b114974150349b11ddce5bae486deebd4ebf2d0c2e0ae732ced367409b034 |