Logo Search packages:      
Sourcecode: adonthell version File versions  Download package

types.h

Go to the documentation of this file.
// $Id: types.h,v 1.16 2002/04/25 15:34:11 gnurou Exp $
/*
   Copyright (C) 1999/2000/2001 Alexandre Courbot.

   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License.
   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY.
   See the COPYING file for more details.

 */


/** @file types.h
 *  @author Alexandre Courbot <alexandrecourbot@linuxgames.com>
 *  @brief Declares some basic types.
 */ 

 
#ifndef TYPES_H__
#define TYPES_H__

#include "SDL.h"

// We should put ifdefs here to put the correct int values accordingly to the system type


/// 8 bits long unsigned integer
00029 #define u_int8 unsigned char

/// 16 bits long unsigned integer
00032 #define u_int16 unsigned short

/// 32 bits long unsigned integer
00035 #define u_int32 unsigned int

/// 8 bits long signed integer
00038 #define s_int8 signed char

/// 16 bits long signed integer
00041 #define s_int16 signed short

/// 32 bits long signed integer
00044 #define s_int32 signed int


/* 
typedef Uint8 u_int8;
typedef Uint16 u_int16;
typedef Uint32 u_int32;
typedef Sint8 s_int8;
typedef Sint16 s_int16;
typedef Sint32 s_int32;
*/ 
#endif

Generated by  Doxygen 1.6.0   Back to index