Changeset - 6a4cebdc14bd
[Not reviewed]
0 2 1
sirkibsirkib - 5 years ago 2020-04-29 17:08:28
christopher.esterhuyse@gmail.com
excluding example symlink
3 files changed with 21 insertions and 1 deletions:
0 comments (0 inline, 0 general)
.gitignore
Show inline comments
 
target
 
/.idea
 
**/*.rs.bk
 
Cargo.lock
 
main
 
examples/*/*.exe
 
\ No newline at end of file
 
examples/*/*.exe
 
examples/reowolf*
 
\ No newline at end of file
examples/reowolf_rs.dll
Show inline comments
 
binary diff not shown
src/runtime/batches.rs
Show inline comments
 
new file 100644
 
use std::ptr::NonNull;
 

	
 
#[repr(C)]
 
pub struct PortOp {
 
	port: u32,
 
	buf_len: u32,
 
	buf: Option<NonNull<u8>>,
 
}
 

	
 

	
 
#[no_mangle]
 
pub extern "C" fn do_sync(
 
	_ops_ptr: Option<NonNull<PortOp>>,
 
	_ops_len: usize,
 
	_batch_ptr: Option<NonNull<u32>>,
 
	_batch_len: usize)
 
{
 
	// TODO
 
}
 
\ No newline at end of file
0 comments (0 inline, 0 general)