1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> 3<title>FLAC: include/FLAC/ordinals.h Source File</title> 4<link href="doxygen.css" rel="stylesheet" type="text/css"> 5</head><body> 6<!-- Generated by Doxygen 1.4.2 --> 7<div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a></div> 8<div class="nav"> 9<a class="el" href="dir_000000.html">include</a> / <a class="el" href="dir_000002.html">FLAC</a></div> 10<h1>ordinals.h</h1><div class="fragment"><pre class="fragment">00001 <span class="comment">/* libFLAC - Free Lossless Audio Codec library</span> 1100002 <span class="comment"> * Copyright (C) 2000,2001,2002,2003,2004,2005,2006,2007 Josh Coalson</span> 1200003 <span class="comment"> *</span> 1300004 <span class="comment"> * Redistribution and use in source and binary forms, with or without</span> 1400005 <span class="comment"> * modification, are permitted provided that the following conditions</span> 1500006 <span class="comment"> * are met:</span> 1600007 <span class="comment"> *</span> 1700008 <span class="comment"> * - Redistributions of source code must retain the above copyright</span> 1800009 <span class="comment"> * notice, this list of conditions and the following disclaimer.</span> 1900010 <span class="comment"> *</span> 2000011 <span class="comment"> * - Redistributions in binary form must reproduce the above copyright</span> 2100012 <span class="comment"> * notice, this list of conditions and the following disclaimer in the</span> 2200013 <span class="comment"> * documentation and/or other materials provided with the distribution.</span> 2300014 <span class="comment"> *</span> 2400015 <span class="comment"> * - Neither the name of the Xiph.org Foundation nor the names of its</span> 2500016 <span class="comment"> * contributors may be used to endorse or promote products derived from</span> 2600017 <span class="comment"> * this software without specific prior written permission.</span> 2700018 <span class="comment"> *</span> 2800019 <span class="comment"> * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS</span> 2900020 <span class="comment"> * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT</span> 3000021 <span class="comment"> * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR</span> 3100022 <span class="comment"> * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR</span> 3200023 <span class="comment"> * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,</span> 3300024 <span class="comment"> * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,</span> 3400025 <span class="comment"> * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR</span> 3500026 <span class="comment"> * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF</span> 3600027 <span class="comment"> * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING</span> 3700028 <span class="comment"> * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS</span> 3800029 <span class="comment"> * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</span> 3900030 <span class="comment"> */</span> 4000031 4100032 <span class="preprocessor">#ifndef FLAC__ORDINALS_H</span> 4200033 <span class="preprocessor"></span><span class="preprocessor">#define FLAC__ORDINALS_H</span> 4300034 <span class="preprocessor"></span> 4400035 <span class="preprocessor">#if !(defined(_MSC_VER) || defined(__BORLANDC__) || defined(__EMX__))</span> 4500036 <span class="preprocessor"></span><span class="preprocessor">#include <inttypes.h></span> 4600037 <span class="preprocessor">#endif</span> 4700038 <span class="preprocessor"></span> 4800039 <span class="keyword">typedef</span> <span class="keywordtype">signed</span> <span class="keywordtype">char</span> FLAC__int8; 4900040 <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> FLAC__uint8; 5000041 5100042 <span class="preprocessor">#if defined(_MSC_VER) || defined(__BORLANDC__)</span> 5200043 <span class="preprocessor"></span><span class="keyword">typedef</span> __int16 FLAC__int16; 5300044 <span class="keyword">typedef</span> __int32 FLAC__int32; 5400045 <span class="keyword">typedef</span> __int64 FLAC__int64; 5500046 <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> __int16 FLAC__uint16; 5600047 <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> __int32 FLAC__uint32; 5700048 <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> __int64 FLAC__uint64; 5800049 <span class="preprocessor">#elif defined(__EMX__)</span> 5900050 <span class="preprocessor"></span><span class="keyword">typedef</span> <span class="keywordtype">short</span> FLAC__int16; 6000051 <span class="keyword">typedef</span> <span class="keywordtype">long</span> FLAC__int32; 6100052 <span class="keyword">typedef</span> <span class="keywordtype">long</span> <span class="keywordtype">long</span> FLAC__int64; 6200053 <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> FLAC__uint16; 6300054 <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> FLAC__uint32; 6400055 <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <span class="keywordtype">long</span> FLAC__uint64; 6500056 <span class="preprocessor">#else</span> 6600057 <span class="preprocessor"></span><span class="keyword">typedef</span> int16_t FLAC__int16; 6700058 <span class="keyword">typedef</span> int32_t FLAC__int32; 6800059 <span class="keyword">typedef</span> int64_t FLAC__int64; 6900060 <span class="keyword">typedef</span> uint16_t FLAC__uint16; 7000061 <span class="keyword">typedef</span> uint32_t FLAC__uint32; 7100062 <span class="keyword">typedef</span> uint64_t FLAC__uint64; 7200063 <span class="preprocessor">#endif</span> 7300064 <span class="preprocessor"></span> 7400065 <span class="keyword">typedef</span> <span class="keywordtype">int</span> FLAC__bool; 7500066 7600067 <span class="keyword">typedef</span> FLAC__uint8 FLAC__byte; 7700068 7800069 <span class="preprocessor">#ifdef true</span> 7900070 <span class="preprocessor"></span><span class="preprocessor">#undef true</span> 8000071 <span class="preprocessor"></span><span class="preprocessor">#endif</span> 8100072 <span class="preprocessor"></span><span class="preprocessor">#ifdef false</span> 8200073 <span class="preprocessor"></span><span class="preprocessor">#undef false</span> 8300074 <span class="preprocessor"></span><span class="preprocessor">#endif</span> 8400075 <span class="preprocessor"></span><span class="preprocessor">#ifndef __cplusplus</span> 8500076 <span class="preprocessor"></span><span class="preprocessor">#define true 1</span> 8600077 <span class="preprocessor"></span><span class="preprocessor">#define false 0</span> 8700078 <span class="preprocessor"></span><span class="preprocessor">#endif</span> 8800079 <span class="preprocessor"></span> 8900080 <span class="preprocessor">#endif</span> 90</pre></div> 91<hr size="1"> 92<div class="copyright"> 93 <!-- @@@ oh so hacky --> 94 <table> 95 <tr> 96 <td align="left"> 97 Copyright (c) 2000,2001,2002,2003,2004,2005,2006,2007 Josh Coalson 98 </td> 99 <td width="1%" align="right"> 100 <a href="http://sourceforge.net"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=13478&type=1" width="88" height="31" border="0" alt="SourceForge.net Logo" /></a> 101 </td> 102 </tr> 103 </table> 104</div> 105<!-- Copyright (c) 2000,2001,2002,2003,2004,2005,2006,2007 Josh Coalson --> 106<!-- Permission is granted to copy, distribute and/or modify this document --> 107<!-- under the terms of the GNU Free Documentation License, Version 1.1 --> 108<!-- or any later version published by the Free Software Foundation; --> 109<!-- with no invariant sections. --> 110<!-- A copy of the license can be found at http://www.gnu.org/copyleft/fdl.html --> 111</body> 112</html> 113