src/pylib/Lib/signal_impl/state

Search:
Group by:
Source   Edit  

XXX: FIXED-NIM-BUG: though nimAllowNonVarDestructor is defined at least since 2.0.6, it still cannot be compiled till abour 2.1.1

Types

signal_state_t = object
  handlers*: array[Py_NSIG, handler]
  when DWin:
    sigint_event*: Handle
  default_handler*, ignore_handler*: PySigHandler
Source   Edit  

Consts

DWin = false
Source   Edit  

Procs

proc get_handler(i: cint): PySigHandler {....raises: [], tags: [], forbids: [].}
Source   Edit  
proc initPySignal(install_signal_handlers: bool) {....raises: [], tags: [],
    forbids: [].}
Source   Edit  
proc PySignal_Fini() {....raises: [], tags: [], forbids: [].}
Source   Edit  
proc set_handler(i: cint; fn: PySigHandler) {....raises: [], tags: [], forbids: [].}
Source   Edit  

Templates

template Handlers(): untyped
Source   Edit