cannam@86
|
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
cannam@86
|
2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
cannam@86
|
3 <title>FLAC: include/FLAC/ordinals.h Source File</title>
|
cannam@86
|
4 <link href="doxygen.css" rel="stylesheet" type="text/css">
|
cannam@86
|
5 </head><body>
|
cannam@86
|
6 <!-- Generated by Doxygen 1.4.2 -->
|
cannam@86
|
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>
|
cannam@86
|
8 <div class="nav">
|
cannam@86
|
9 <a class="el" href="dir_000000.html">include</a> / <a class="el" href="dir_000002.html">FLAC</a></div>
|
cannam@86
|
10 <h1>ordinals.h</h1><div class="fragment"><pre class="fragment">00001 <span class="comment">/* libFLAC - Free Lossless Audio Codec library</span>
|
cannam@86
|
11 00002 <span class="comment"> * Copyright (C) 2000,2001,2002,2003,2004,2005,2006,2007 Josh Coalson</span>
|
cannam@86
|
12 00003 <span class="comment"> *</span>
|
cannam@86
|
13 00004 <span class="comment"> * Redistribution and use in source and binary forms, with or without</span>
|
cannam@86
|
14 00005 <span class="comment"> * modification, are permitted provided that the following conditions</span>
|
cannam@86
|
15 00006 <span class="comment"> * are met:</span>
|
cannam@86
|
16 00007 <span class="comment"> *</span>
|
cannam@86
|
17 00008 <span class="comment"> * - Redistributions of source code must retain the above copyright</span>
|
cannam@86
|
18 00009 <span class="comment"> * notice, this list of conditions and the following disclaimer.</span>
|
cannam@86
|
19 00010 <span class="comment"> *</span>
|
cannam@86
|
20 00011 <span class="comment"> * - Redistributions in binary form must reproduce the above copyright</span>
|
cannam@86
|
21 00012 <span class="comment"> * notice, this list of conditions and the following disclaimer in the</span>
|
cannam@86
|
22 00013 <span class="comment"> * documentation and/or other materials provided with the distribution.</span>
|
cannam@86
|
23 00014 <span class="comment"> *</span>
|
cannam@86
|
24 00015 <span class="comment"> * - Neither the name of the Xiph.org Foundation nor the names of its</span>
|
cannam@86
|
25 00016 <span class="comment"> * contributors may be used to endorse or promote products derived from</span>
|
cannam@86
|
26 00017 <span class="comment"> * this software without specific prior written permission.</span>
|
cannam@86
|
27 00018 <span class="comment"> *</span>
|
cannam@86
|
28 00019 <span class="comment"> * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS</span>
|
cannam@86
|
29 00020 <span class="comment"> * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT</span>
|
cannam@86
|
30 00021 <span class="comment"> * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR</span>
|
cannam@86
|
31 00022 <span class="comment"> * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR</span>
|
cannam@86
|
32 00023 <span class="comment"> * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,</span>
|
cannam@86
|
33 00024 <span class="comment"> * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,</span>
|
cannam@86
|
34 00025 <span class="comment"> * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR</span>
|
cannam@86
|
35 00026 <span class="comment"> * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF</span>
|
cannam@86
|
36 00027 <span class="comment"> * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING</span>
|
cannam@86
|
37 00028 <span class="comment"> * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS</span>
|
cannam@86
|
38 00029 <span class="comment"> * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</span>
|
cannam@86
|
39 00030 <span class="comment"> */</span>
|
cannam@86
|
40 00031
|
cannam@86
|
41 00032 <span class="preprocessor">#ifndef FLAC__ORDINALS_H</span>
|
cannam@86
|
42 00033 <span class="preprocessor"></span><span class="preprocessor">#define FLAC__ORDINALS_H</span>
|
cannam@86
|
43 00034 <span class="preprocessor"></span>
|
cannam@86
|
44 00035 <span class="preprocessor">#if !(defined(_MSC_VER) || defined(__BORLANDC__) || defined(__EMX__))</span>
|
cannam@86
|
45 00036 <span class="preprocessor"></span><span class="preprocessor">#include <inttypes.h></span>
|
cannam@86
|
46 00037 <span class="preprocessor">#endif</span>
|
cannam@86
|
47 00038 <span class="preprocessor"></span>
|
cannam@86
|
48 00039 <span class="keyword">typedef</span> <span class="keywordtype">signed</span> <span class="keywordtype">char</span> FLAC__int8;
|
cannam@86
|
49 00040 <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> FLAC__uint8;
|
cannam@86
|
50 00041
|
cannam@86
|
51 00042 <span class="preprocessor">#if defined(_MSC_VER) || defined(__BORLANDC__)</span>
|
cannam@86
|
52 00043 <span class="preprocessor"></span><span class="keyword">typedef</span> __int16 FLAC__int16;
|
cannam@86
|
53 00044 <span class="keyword">typedef</span> __int32 FLAC__int32;
|
cannam@86
|
54 00045 <span class="keyword">typedef</span> __int64 FLAC__int64;
|
cannam@86
|
55 00046 <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> __int16 FLAC__uint16;
|
cannam@86
|
56 00047 <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> __int32 FLAC__uint32;
|
cannam@86
|
57 00048 <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> __int64 FLAC__uint64;
|
cannam@86
|
58 00049 <span class="preprocessor">#elif defined(__EMX__)</span>
|
cannam@86
|
59 00050 <span class="preprocessor"></span><span class="keyword">typedef</span> <span class="keywordtype">short</span> FLAC__int16;
|
cannam@86
|
60 00051 <span class="keyword">typedef</span> <span class="keywordtype">long</span> FLAC__int32;
|
cannam@86
|
61 00052 <span class="keyword">typedef</span> <span class="keywordtype">long</span> <span class="keywordtype">long</span> FLAC__int64;
|
cannam@86
|
62 00053 <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> FLAC__uint16;
|
cannam@86
|
63 00054 <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> FLAC__uint32;
|
cannam@86
|
64 00055 <span class="keyword">typedef</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> <span class="keywordtype">long</span> FLAC__uint64;
|
cannam@86
|
65 00056 <span class="preprocessor">#else</span>
|
cannam@86
|
66 00057 <span class="preprocessor"></span><span class="keyword">typedef</span> int16_t FLAC__int16;
|
cannam@86
|
67 00058 <span class="keyword">typedef</span> int32_t FLAC__int32;
|
cannam@86
|
68 00059 <span class="keyword">typedef</span> int64_t FLAC__int64;
|
cannam@86
|
69 00060 <span class="keyword">typedef</span> uint16_t FLAC__uint16;
|
cannam@86
|
70 00061 <span class="keyword">typedef</span> uint32_t FLAC__uint32;
|
cannam@86
|
71 00062 <span class="keyword">typedef</span> uint64_t FLAC__uint64;
|
cannam@86
|
72 00063 <span class="preprocessor">#endif</span>
|
cannam@86
|
73 00064 <span class="preprocessor"></span>
|
cannam@86
|
74 00065 <span class="keyword">typedef</span> <span class="keywordtype">int</span> FLAC__bool;
|
cannam@86
|
75 00066
|
cannam@86
|
76 00067 <span class="keyword">typedef</span> FLAC__uint8 FLAC__byte;
|
cannam@86
|
77 00068
|
cannam@86
|
78 00069 <span class="preprocessor">#ifdef true</span>
|
cannam@86
|
79 00070 <span class="preprocessor"></span><span class="preprocessor">#undef true</span>
|
cannam@86
|
80 00071 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
cannam@86
|
81 00072 <span class="preprocessor"></span><span class="preprocessor">#ifdef false</span>
|
cannam@86
|
82 00073 <span class="preprocessor"></span><span class="preprocessor">#undef false</span>
|
cannam@86
|
83 00074 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
cannam@86
|
84 00075 <span class="preprocessor"></span><span class="preprocessor">#ifndef __cplusplus</span>
|
cannam@86
|
85 00076 <span class="preprocessor"></span><span class="preprocessor">#define true 1</span>
|
cannam@86
|
86 00077 <span class="preprocessor"></span><span class="preprocessor">#define false 0</span>
|
cannam@86
|
87 00078 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
|
cannam@86
|
88 00079 <span class="preprocessor"></span>
|
cannam@86
|
89 00080 <span class="preprocessor">#endif</span>
|
cannam@86
|
90 </pre></div>
|
cannam@86
|
91 <hr size="1">
|
cannam@86
|
92 <div class="copyright">
|
cannam@86
|
93 <!-- @@@ oh so hacky -->
|
cannam@86
|
94 <table>
|
cannam@86
|
95 <tr>
|
cannam@86
|
96 <td align="left">
|
cannam@86
|
97 Copyright (c) 2000,2001,2002,2003,2004,2005,2006,2007 Josh Coalson
|
cannam@86
|
98 </td>
|
cannam@86
|
99 <td width="1%" align="right">
|
cannam@86
|
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>
|
cannam@86
|
101 </td>
|
cannam@86
|
102 </tr>
|
cannam@86
|
103 </table>
|
cannam@86
|
104 </div>
|
cannam@86
|
105 <!-- Copyright (c) 2000,2001,2002,2003,2004,2005,2006,2007 Josh Coalson -->
|
cannam@86
|
106 <!-- Permission is granted to copy, distribute and/or modify this document -->
|
cannam@86
|
107 <!-- under the terms of the GNU Free Documentation License, Version 1.1 -->
|
cannam@86
|
108 <!-- or any later version published by the Free Software Foundation; -->
|
cannam@86
|
109 <!-- with no invariant sections. -->
|
cannam@86
|
110 <!-- A copy of the license can be found at http://www.gnu.org/copyleft/fdl.html -->
|
cannam@86
|
111 </body>
|
cannam@86
|
112 </html>
|