⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 common_8h.html

📁 Tixys source code, include G.711, G.726, IMA-ADPCM etc.
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>common/common.h File Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.4.1 --><div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a></div><div class="nav"><a class="el" href="dir_000001.html">common</a></div><h1>common.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>Type definitions and helper macros which aren't part of Standard C++. <p>For latest source code see <a href="http://www.tixy.clara.net/source/">http://www.tixy.clara.net/source/</a><p>Copyright (C) 2004 J.D.Medhurst (a.k.a. Tixy)<p>This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.<p>This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.<p>You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA<p>Definition in file <a class="el" href="common_8h-source.html">common.h</a>.<p><p><a href="common_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"><tr><td></td></tr><tr><td colspan="2"><br><h2>Defines</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="common_8h.html#a0">BREAKPOINT</a></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="common_8h.html#a1">IMPORT</a></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="common_8h.html#a2">EXPORT</a></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="common_8h.html#a3">ASSERT</a>(c)</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="common_8h.html#a4">ASSERT_DEBUG</a>(c)</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="common_8h.html#a5">ASSERT_COMPILE</a>(c)&nbsp;&nbsp;&nbsp;void assert_compile(int assert_compile[(c)?1:-1])</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="common_8h.html#a6">NULL</a>&nbsp;&nbsp;&nbsp;0</td></tr><tr><td colspan="2"><br><h2>Typedefs</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">typedef unsigned char&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__integers.html#ga0">uint8</a></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">typedef unsigned short&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__integers.html#ga1">uint16</a></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">typedef unsigned int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__integers.html#ga2">uint32</a></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">typedef signed char&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__integers.html#ga3">int8</a></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">typedef signed short&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__integers.html#ga4">int16</a></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">typedef signed int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__integers.html#ga5">int32</a></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">typedef unsigned int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__integers.html#ga6">uint</a></td></tr></table><hr><h2>Define Documentation</h2><a class="anchor" name="a0" doxytag="common.h::BREAKPOINT"></a><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">#define BREAKPOINT          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Invoke debugger <p>Definition at line <a class="el" href="common_8h-source.html#l00115">115</a> of file <a class="el" href="common_8h-source.html">common.h</a>.    </td>  </tr></table><a class="anchor" name="a1" doxytag="common.h::IMPORT"></a><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">#define IMPORT          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Mark a function which is to be imported from a DLL <p>Definition at line <a class="el" href="common_8h-source.html#l00116">116</a> of file <a class="el" href="common_8h-source.html">common.h</a>.    </td>  </tr></table><a class="anchor" name="a2" doxytag="common.h::EXPORT"></a><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">#define EXPORT          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Mark a function to be exported from a DLL <p>Definition at line <a class="el" href="common_8h-source.html#l00117">117</a> of file <a class="el" href="common_8h-source.html">common.h</a>.    </td>  </tr></table><a class="anchor" name="a3" doxytag="common.h::ASSERT"></a><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">#define ASSERT          </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">c&nbsp;</td>          <td class="mdname1" valign="top" nowrap>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Assert that expression 'c' is true <p>Definition at line <a class="el" href="common_8h-source.html#l00118">118</a> of file <a class="el" href="common_8h-source.html">common.h</a>.    </td>  </tr></table><a class="anchor" name="a4" doxytag="common.h::ASSERT_DEBUG"></a><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">#define ASSERT_DEBUG          </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">c&nbsp;</td>          <td class="mdname1" valign="top" nowrap>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Assert that expression 'c' is true (when compiled for debugging) <p>Definition at line <a class="el" href="common_8h-source.html#l00136">136</a> of file <a class="el" href="common_8h-source.html">common.h</a>.    </td>  </tr></table><a class="anchor" name="a5" doxytag="common.h::ASSERT_COMPILE"></a><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">#define ASSERT_COMPILE          </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">c&nbsp;</td>          <td class="mdname1" valign="top" nowrap>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap>&nbsp;&nbsp;&nbsp;void assert_compile(int assert_compile[(c)?1:-1])</td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Assert, at compile time, that expression 'c' is true. <p>Definition at line <a class="el" href="common_8h-source.html#l00141">141</a> of file <a class="el" href="common_8h-source.html">common.h</a>.    </td>  </tr></table><a class="anchor" name="a6" doxytag="common.h::NULL"></a><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">#define NULL&nbsp;&nbsp;&nbsp;0          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Used to represent a null pointer type <p>Definition at line <a class="el" href="common_8h-source.html#l00145">145</a> of file <a class="el" href="common_8h-source.html">common.h</a>.    </td>  </tr></table><HR><ADDRESS STYLE="align: right;"><SMALL>Generated by&nbsp; <A HREF="http://www.doxygen.org/index.html"><IMG SRC="doxygen.png" ALT="doxygen" ALIGN="middle" BORDER="0"></A> 1.4.1</SMALL></ADDRESS></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -