<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!DOCTYPE funcs
  SYSTEM '../../../clonk.dtd'>
<?xml-stylesheet type="text/xsl" href="../../../clonk.xsl"?>
<funcs>
  <func>
    <title>ToggleBit</title>
    <category>Arithmetics</category>
    <version>5.1 OC</version>
    <syntax>
      <rtype>int</rtype>
      <params>
        <param>
          <type>int</type>
          <name>old_value</name>
          <desc>Old value of the bit masc</desc>
        </param>
        <param>
          <type>int</type>
          <name>bit_number</name>
          <desc>The bit to flip</desc>
        </param>
      </params>
    </syntax>
    <desc>Returns the new bit masc with the bit at the indicated position flipped</desc>
    <related>
      <funclink>SetBit</funclink>
      <funclink>GetBit</funclink>
    </related>
  </func>
  <author>Newton</author><date>2009-07</date>
</funcs>
