pros_bindgen 0.2.0

Generate PROS bindings to rust
Documentation
  • Coverage
  • 0%
    0 out of 2 items documented0 out of 1 items with examples
  • Size
  • Source code size: 16.45 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.05 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • Homepage
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • aDotInTheVoid

Rust Pros Bindgen

Generate PROS bindings to rust

Requirements

  • The latest stable version of rust
  • gcc
  • PROS
  • some random header modifications

Useage

In build.rs

use pros_bindgen::bindgen;

fn main(){
    bindgen();
}

In some file to import the bindings

#![allow(non_upper_case_globals)]
#![allow(non_camel_case_types)]
#![allow(non_snake_case)]
#![allow(dead_code)]
include!(concat!(env!("OUT_DIR"), "/bindings.rs"));

What header modifications

If you want to use it, make an issue and I'll document it.