<?xml version='1.0' encoding='ISO-8859-1' standalone='no'?>
<!DOCTYPE interface-description SYSTEM 'file:///usr/pkgsrc/lang/oo2c/work.macaroon/oo2c_32-2.0.11/rsrc/OOC/xml/interface-description.dtd'>
<interface-description name='Termination' id=''>
  <type-decl name='Proc' id='Proc' export='yes'>
    <type>
      <formal-parameters/>
    </type>
  </type-decl>
  <procedure name='RegisterProc' id='RegisterProc' export='yes'>
    <oberon-doc>
      <summary>Adds <oberon-param href='#RegisterProc.proc'>proc</oberon-param> to the list of procedures executed at program termination.</summary>
      <p pad-after='yes' no-indent='yes'>Adds <oberon-param href='#RegisterProc.proc'>proc</oberon-param> to the list of procedures executed at program termination.  The registered procedures will be called on normal program termination, if an error signal is raised, or if an termination signal is raised.  They are called in reverse order of registration.</p>
    </oberon-doc>
    <formal-parameters>
      <parameter-decl name='proc' id='RegisterProc.proc' export='no' variable-parameter='no'>
        <type>
          <type-name name='Proc' href='#Proc'/>
        </type>
      </parameter-decl>
    </formal-parameters>
  </procedure>
  <procedure name='UnregisterProc' id='UnregisterProc' export='yes'>
    <oberon-doc>
      <summary>Removes <oberon-param href='#UnregisterProc.proc'>proc</oberon-param> from the list of procedures executed at program termination.</summary>
      <p pad-after='yes' no-indent='yes'>Removes <oberon-param href='#UnregisterProc.proc'>proc</oberon-param> from the list of procedures executed at program termination.  The last procedure equal to <oberon-param href='#UnregisterProc.proc'>proc</oberon-param> is removed.  Nothing is done if <oberon-param href='#UnregisterProc.proc'>proc</oberon-param> has not been registered before.</p>
    </oberon-doc>
    <formal-parameters>
      <parameter-decl name='proc' id='UnregisterProc.proc' export='no' variable-parameter='no'>
        <type>
          <type-name name='Proc' href='#Proc'/>
        </type>
      </parameter-decl>
    </formal-parameters>
  </procedure>
  <import-decl name='-RT0' id='-RT0' export='no' module='RT0'/>
  <import-decl name='-Object' id='-Object' export='no' module='Object'/>
  <import-decl name='-Exception' id='-Exception' export='no' module='Exception'/>
</interface-description>
