Fix references to Option through dox
This commit is contained in:
parent
b347b44771
commit
6de3816a02
|
@ -338,7 +338,7 @@ extern {
|
||||||
pub fn pthread_detach(thread: ::pthread_t) -> ::c_int;
|
pub fn pthread_detach(thread: ::pthread_t) -> ::c_int;
|
||||||
pub fn sched_yield() -> ::c_int;
|
pub fn sched_yield() -> ::c_int;
|
||||||
pub fn pthread_key_create(key: *mut pthread_key_t,
|
pub fn pthread_key_create(key: *mut pthread_key_t,
|
||||||
dtor: Option<unsafe extern fn(*mut ::c_void)>)
|
dtor: ::dox::Option<unsafe extern fn(*mut ::c_void)>)
|
||||||
-> c_int;
|
-> c_int;
|
||||||
pub fn pthread_key_delete(key: pthread_key_t) -> c_int;
|
pub fn pthread_key_delete(key: pthread_key_t) -> c_int;
|
||||||
pub fn pthread_getspecific(key: pthread_key_t) -> *mut ::c_void;
|
pub fn pthread_getspecific(key: pthread_key_t) -> *mut ::c_void;
|
||||||
|
|
|
@ -3,6 +3,6 @@ s! {
|
||||||
pub sa_sigaction: ::sighandler_t,
|
pub sa_sigaction: ::sighandler_t,
|
||||||
pub sa_mask: ::sigset_t,
|
pub sa_mask: ::sigset_t,
|
||||||
pub sa_flags: ::c_ulong,
|
pub sa_flags: ::c_ulong,
|
||||||
pub sa_restorer: Option<extern fn()>,
|
pub sa_restorer: ::dox::Option<extern fn()>,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue