Update for Rust 2018

merge-requests/7/merge
Raniz 2019-11-25 11:48:12 +01:00
parent ab7c27e8cb
commit 93560d3e10
1 changed files with 3 additions and 2 deletions

View File

@ -1,9 +1,10 @@
use ::{sys, Instance};
use std::ffi::CString; use std::ffi::CString;
use tools::{to_cstr, from_cstr};
use std::os::raw::c_char; use std::os::raw::c_char;
use std::ptr; use std::ptr;
use crate::{Instance, sys};
use crate::tools::{from_cstr, to_cstr};
pub trait Vlm { pub trait Vlm {
fn add_broadcast(&self, name: &str, input: &str, output: &str, options: Option<Vec<String>>, enabled: bool, loop_broadcast: bool, ) -> Result<(), ()>; fn add_broadcast(&self, name: &str, input: &str, output: &str, options: Option<Vec<String>>, enabled: bool, loop_broadcast: bool, ) -> Result<(), ()>;