Main Page Modules Class Hierarchy Alphabetical List Compound List File List Compound Members File Members

# include/FLAC/ordinals.h

    00001 /* libFLAC - Free Lossless Audio Codec library
    00002  * Copyright (C) 2000,2001,2002,2003  Josh Coalson
    00003  *
    00004  * This library is free software; you can redistribute it and/or
    00005  * modify it under the terms of the GNU Library General Public
    00006  * License as published by the Free Software Foundation; either
    00007  * version 2 of the License, or (at your option) any later version.
    00008  *
    00009  * This library is distributed in the hope that it will be useful,
    00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
    00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    00012  * Library General Public License for more details.
    00013  *
    00014  * You should have received a copy of the GNU Library General Public
    00015  * License along with this library; if not, write to the
    00016  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    00017  * Boston, MA  02111-1307, USA.
    00018  */
    00019
    00020 #ifndef FLAC__ORDINALS_H
    00021 #define FLAC__ORDINALS_H
    00022
    00023 #ifdef true
    00024 #undef true
    00025 #endif
    00026 #ifdef false
    00027 #undef false
    00028 #endif
    00029 #ifndef __cplusplus
    00030 #define true 1
    00031 #define false 0
    00032 #endif
    00033
    00034 typedef int FLAC__bool;
    00035
    00036 typedef signed char FLAC__int8;
    00037 typedef unsigned char FLAC__uint8;
    00038
    00039 #if defined _MSC_VER
    00040 typedef __int16 FLAC__int16;
    00041 typedef __int32 FLAC__int32;
    00042 typedef __int64 FLAC__int64;
    00043 typedef unsigned __int16 FLAC__uint16;
    00044 typedef unsigned __int32 FLAC__uint32;
    00045 typedef unsigned __int64 FLAC__uint64;
    00046 #else
    00047 typedef short FLAC__int16;
    00048 typedef int FLAC__int32;
    00049 typedef long long FLAC__int64;
    00050 typedef unsigned short FLAC__uint16;
    00051 typedef unsigned int FLAC__uint32;
    00052 typedef unsigned long long FLAC__uint64;
    00053 #endif
    00054
    00055 typedef FLAC__uint8 FLAC__byte;
    00056 typedef float FLAC__real;
    00057
    00058 #endif