00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef _WIZARDSTOOLKIT_WIZARD_TYPE_H
00019 #define _WIZARDSTOOLKIT_WIZARD_TYPE_H
00020
00021 #if defined(__cplusplus) || defined(c_plusplus)
00022 extern "C" {
00023 #endif
00024
00025 typedef enum
00026 {
00027 WizardFalse = 0,
00028 WizardTrue = 1
00029 } WizardBooleanType;
00030
00031 #if defined(__WINDOWS__) && !defined(__MINGW32__)
00032 # define WizardLLConstant(c) (WizardOffsetType) (c ## i64)
00033 # define WizardULLConstant(c) (WizardSizeType) (c ## ui64)
00034 #else
00035 # define WizardLLConstant(c) (WizardOffsetType) (c ## LL)
00036 # define WizardULLConstant(c) (WizardSizeType) (c ## ULL)
00037 #endif
00038
00039
00040
00041
00042 typedef unsigned int WizardStatusType;
00043 #if !defined(__WINDOWS__)
00044 #if (WIZARDSTOOLKIT_SIZEOF_UNSIGNED_LONG_LONG == 8)
00045 typedef long long WizardOffsetType;
00046 typedef unsigned long long WizardSizeType;
00047 #else
00048 typedef long WizardOffsetType;
00049 typedef unsigned long WizardSizeType;
00050 #endif
00051 #else
00052 typedef __int64 WizardOffsetType;
00053 typedef unsigned __int64 WizardSizeType;
00054 #endif
00055
00056 #if defined(macintosh)
00057 #define ExceptionInfo WizardExceptionInfo
00058 #endif
00059
00060 #if defined(__cplusplus) || defined(c_plusplus)
00061 }
00062 #endif
00063
00064 #endif