|
|
@ -2,6 +2,7 @@
|
|
|
|
extern crate speech_dispatcher_sys;
|
|
|
|
extern crate speech_dispatcher_sys;
|
|
|
|
|
|
|
|
|
|
|
|
use std::ffi::{CStr, CString};
|
|
|
|
use std::ffi::{CStr, CString};
|
|
|
|
|
|
|
|
use std::marker::Send;
|
|
|
|
|
|
|
|
|
|
|
|
use speech_dispatcher_sys::*;
|
|
|
|
use speech_dispatcher_sys::*;
|
|
|
|
|
|
|
|
|
|
|
@ -503,6 +504,9 @@ impl Connection {
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
unsafe impl Send for Connection {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
impl Drop for Connection {
|
|
|
|
impl Drop for Connection {
|
|
|
|
fn drop(&mut self) {
|
|
|
|
fn drop(&mut self) {
|
|
|
|
self.close();
|
|
|
|
self.close();
|
|
|
|