nfc1-sys 0.3.13

Low-level Rust bindings for libnfc. For high-level safe bindings, see crate nfc1.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use std::ptr;
use crate::*;

#[test]
fn nfc_init_exit() {
	unsafe {
		let mut p: *mut nfc_context = ptr::null_mut();
		nfc_init(&mut p);
		nfc_exit(p);
	}
}