/packages/libgbafpc/src/gba/gba_types.inc
Unknown | 65 lines | 47 code | 18 blank | 0 comment | 0 complexity | 1290e7e3eb87950fafc1f9ffcdda847a MD5 | raw file
Possible License(s): LGPL-2.0, LGPL-2.1, LGPL-3.0
1(* 2 $Id$ 3 ------------------------------------------------------------------------------ 4 Header file for libgba type definitions 5 6 Copyright 2003-2005 by Dave Murphy. 7 8 This library is free software; you can redistribute it and/or 9 modify it under the terms of the GNU Library General Public 10 License as published by the Free Software Foundation; either 11 version 2 of the License, or (at your option) any later version. 12 13 This library is distributed in the hope that it will be useful, 14 but WITHOUT ANY WARRANTY; without even the implied warranty of 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 Library General Public License for more details. 17 18 You should have received a copy of the GNU Library General Public 19 License along with this library; if not, write to the Free Software 20 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 21 USA. 22 23 Please report all bugs and problems through the bug tracker at 24 "http://sourceforge.net/tracker/?group_id=114505&atid=668551". 25 26 27 ------------------------------------------------------------------------------ 28 29 30 Conversion by Legolas (http://itaprogaming.free.fr) for freepascal compiler 31 (http://www.freepascal.org) 32 33 Copyright (C) 2006 Francesco Lombardi 34 Check http://sourceforge.net/projects/libndsfpc for updates 35 36 ------------------------------------------------------------------------------ 37 38 $Log$ 39 40*) 41 42{$ifdef GBA_INTERFACE} 43 44//--------------------------------------------------------------------------------- 45// Data types 46//--------------------------------------------------------------------------------- 47type 48 (* Unsigned types *) 49 u8 = byte; 50 u16 = word; 51 u32 = dword; 52 pu8 = ^u8; 53 pu16 = ^u16; 54 pu32 = ^u32; 55 56 (* Signed types *) 57 s8 = shortint; 58 s16 = smallint; 59 s32 = longint; 60 ps8 = ^s8; 61 ps16 = ^s16; 62 ps32 = ^s32; 63 64{$endif GBA_INTERFACE} 65