mirror of
https://github.com/dgoodlad/rtl8710-sdk.git
synced 2026-03-23 11:04:47 +00:00
Generate some C bindings
This commit is contained in:
parent
f737e1c4ab
commit
d639d3b5e4
5 changed files with 38 additions and 1 deletions
8
src/bindings.rs
Normal file
8
src/bindings.rs
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#![allow(non_upper_case_globals)]
|
||||
#![allow(non_camel_case_types)]
|
||||
#![allow(non_snake_case)]
|
||||
#![allow(dead_code)]
|
||||
|
||||
use cty;
|
||||
|
||||
include!(concat!(env!("OUT_DIR"), "/bindings.rs"));
|
||||
|
|
@ -1,5 +1,7 @@
|
|||
#![no_std]
|
||||
|
||||
pub mod bindings;
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
#[test]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue