Fix references to Option through dox

This commit is contained in:
Alex Crichton 2015-09-17 16:53:43 -07:00
parent b347b44771
commit 6de3816a02
2 changed files with 2 additions and 2 deletions

View File

@ -338,7 +338,7 @@ extern {
pub fn pthread_detach(thread: ::pthread_t) -> ::c_int;
pub fn sched_yield() -> ::c_int;
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;
pub fn pthread_key_delete(key: pthread_key_t) -> c_int;
pub fn pthread_getspecific(key: pthread_key_t) -> *mut ::c_void;

View File

@ -3,6 +3,6 @@ s! {
pub sa_sigaction: ::sighandler_t,
pub sa_mask: ::sigset_t,
pub sa_flags: ::c_ulong,
pub sa_restorer: Option<extern fn()>,
pub sa_restorer: ::dox::Option<extern fn()>,
}
}