<?xml version="1.0"?>
<page id="Gimp.SignalHandlerFunc"
      type="topic"
      style="callback"
      xmlns="http://projectmallard.org/1.0/"
      xmlns:api="http://projectmallard.org/experimental/api/"
      xmlns:ui="http://projectmallard.org/1.0/ui/">
  <info>
    <link xref="index" group="callback" type="guide"/>
  </info>
  <title>Gimp.SignalHandlerFunc</title>
  <synopsis><code mime="text/x-gjs">
function onSignalHandlerFunc(signum: Number(gint)): void {
}
  </code></synopsis>
  <p>A prototype for a reference to a signal handler functions. Note
that each function which takes or returns a variable of this type
also accepts or may return special values defined by your system's
signal.h header file (like @SIG_DFL or @SIG_IGN).</p>

<terms>
<item>
<title><code>signum</code></title>
  <p>The number of the signal. Useful if different signals are
         handled by a single handler.</p>
</item>
</terms>

</page>
