prelude: :gerbil/compiler/ssxi
package: std/os

(begin
  (declare-type std/os/signal-handler#add-signal-handler! (@lambda 2 #f))
  (declare-type std/os/signal-handler#remove-signal-handler! (@lambda 1 #f))
  (declare-type
   std/os/signal-handler#signal-handler::t
   (@struct-type
    std/os/signal-handler#signal-handler::t
    #f
    4
    :init!
    ((final: . #t))))
  (declare-type
   std/os/signal-handler#signal-handler?
   (@struct-pred std/os/signal-handler#signal-handler::t))
  (declare-type
   std/os/signal-handler#make-signal-handler
   (@struct-cons std/os/signal-handler#signal-handler::t))
  (declare-type
   std/os/signal-handler#signal-handler-handlers
   (@struct-getf std/os/signal-handler#signal-handler::t 0 #f))
  (declare-type
   std/os/signal-handler#signal-handler-default-handlers
   (@struct-getf std/os/signal-handler#signal-handler::t 1 #f))
  (declare-type
   std/os/signal-handler#signal-handler-kq
   (@struct-getf std/os/signal-handler#signal-handler::t 2 #f))
  (declare-type
   std/os/signal-handler#signal-handler-mx
   (@struct-getf std/os/signal-handler#signal-handler::t 3 #f))
  (declare-type
   std/os/signal-handler#signal-handler-handlers-set!
   (@struct-setf std/os/signal-handler#signal-handler::t 0 #f))
  (declare-type
   std/os/signal-handler#signal-handler-default-handlers-set!
   (@struct-setf std/os/signal-handler#signal-handler::t 1 #f))
  (declare-type
   std/os/signal-handler#signal-handler-kq-set!
   (@struct-setf std/os/signal-handler#signal-handler::t 2 #f))
  (declare-type
   std/os/signal-handler#signal-handler-mx-set!
   (@struct-setf std/os/signal-handler#signal-handler::t 3 #f))
  (declare-type std/os/signal-handler#signal-handler:::init! (@lambda 1 #f))
  (declare-method
   std/os/signal-handler#signal-handler::t
   :init!
   std/os/signal-handler#signal-handler:::init!
   #f)
  (declare-type std/os/signal-handler#signal-handler-wait (@lambda 1 #f))
  (declare-type std/os/signal-handler#signal-handler-add! (@lambda 3 #f))
  (declare-type std/os/signal-handler#signal-handler-remove! (@lambda 2 #f))
  (declare-type std/os/signal-handler#ignore-signal! (@lambda 2 #f))
  (declare-type std/os/signal-handler#restore-signal! (@lambda 2 #f))
  (declare-type std/os/signal-handler#signal-handler-dispatch (@lambda 1 #f)))
