ci: bump up the deprecation date of os.signal to 2021-06-18

pull/10134/head
Delyan Angelov 2021-05-18 11:06:00 +03:00
parent 4c22370635
commit 21b34b3a0b
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ type SignalHandler = fn (Signal)
fn C.signal(signal int, handlercb SignalHandler) voidptr
[deprecated: 'use os.signal_opt() instead']
[deprecated_after: '2021-05-18']
[deprecated_after: '2021-06-18']
pub fn signal(signum int, handler voidptr) voidptr {
return voidptr(signal_opt(Signal(signum), handler) or { C.SIG_ERR })
}