00001 /* 00002 FALCON - The Falcon Programming Language. 00003 FILE: ht_types.h 00004 00005 Declaration of types used by Falcon language. 00006 ------------------------------------------------------------------- 00007 Author: Giancarlo Niccolai 00008 Begin: 2004-05-15 00009 00010 ------------------------------------------------------------------- 00011 (C) Copyright 2004: the FALCON developers (see list in AUTHORS file) 00012 00013 See LICENSE file for licensing details. 00014 */ 00015 00016 #ifndef HT_TYPES_H 00017 #define HT_TYPES_H 00018 00019 #include <falcon/setup.h> 00020 00021 namespace Falcon 00022 { 00023 00024 class EngineData; 00025 00026 typedef char * cstring; 00027 00028 typedef unsigned char byte; 00029 typedef unsigned char * bytearray; 00030 00031 typedef byte uint8; 00032 typedef unsigned short int uint16; 00033 typedef unsigned int uint32; 00034 00035 #ifdef _MSC_VER 00036 typedef unsigned __int64 uint64; 00037 #else 00038 typedef unsigned long long int uint64; 00039 #endif 00040 00041 typedef char int8; 00042 typedef short int int16; 00043 typedef int int32; 00044 00045 #ifdef _MSC_VER 00046 typedef __int64 int64; 00047 #else 00048 typedef long long int int64; 00049 #endif 00050 00051 typedef double numeric; 00052 typedef void * voidp; 00053 00054 class VMachine; 00055 class Module; 00056 00057 typedef void ( CDECL *ext_func_t) ( VMachine *); 00058 typedef bool ( CDECL *ext_func_frame_t) ( VMachine * ); 00059 00060 extern "C" { 00061 typedef Module* (CDECL *ext_mod_init)(); 00062 } 00063 00064 } 00065 00066 #endif 00067 /* end of ht_types.h */