wizard-type.h

Go to the documentation of this file.
00001 /*
00002   Copyright 1999-2008 ImageMagick Studio LLC, a non-profit organization
00003   dedicated to making software imaging solutions freely available.
00004   
00005   You may not use this file except in compliance with the License.
00006   obtain a copy of the License at
00007   
00008     http://www.wizards-toolkit.org/script/license.php
00009   
00010   Unless required by applicable law or agreed to in writing, software
00011   distributed under the License is distributed on an "AS IS" BASIS,
00012   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00013   See the License for the specific language governing permissions and
00014   limitations under the License.
00015 
00016   Wizard's Toolkit structure members.
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   Typedef declarations.
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

Generated on Sat Jan 26 14:50:32 2008 for WizardsToolkit by  doxygen 1.5.4