Adobe.com
Contents Suites Classes Class Index Member Index

AIBasicTypes.h

Go to the documentation of this file.
00001 #ifndef _AI_BASIC_TYPES_
00002 #define _AI_BASIC_TYPES_
00003 
00004 /*
00005 * Name: AIBasicTypes.h
00006 * Author: Started by Pushp
00007 * Date: November, 2008
00008 * Purpose: Adobe Illustrator Definitions of Basic Types
00009 *
00010 * ADOBE SYSTEMS INCORPORATED
00011 * Copyright 2008 Adobe Systems Incorporated.
00012 * All rights reserved.
00013 *
00014 * NOTICE:  Adobe permits you to use, modify, and distribute this file
00015 * in accordance with the terms of the Adobe license agreement
00016 * accompanying it. If you have received this file from a source other
00017 * than Adobe, then your use, modification, or distribution of it
00018 * requires the prior written permission of Adobe.
00019 *
00020 */
00021 
00022 //TODO: To use C99 data types instead of raw data types and defined new data types for 64 bit readiness [Pushp]
00023 
00024 #include <stddef.h>
00025 #include "ASConfig.h"
00026 #if defined(MAC_ENV)
00027 #include <stdint.h>
00028 #include <sys/types.h>
00029 #endif
00030 
00031 
00032 
00033 namespace ai
00034 {
00035         typedef signed char             int8;
00036         typedef unsigned char   uint8;
00037         typedef signed short    int16;
00038         typedef unsigned short  uint16;
00039 
00040 #if defined(_WIN32)
00041         typedef __int64                         int64;
00042         typedef unsigned __int64        uint64;
00043         typedef __int32         int32;
00044         typedef unsigned __int32        uint32;
00045 #endif
00046 
00047 #if defined(MAC_ENV)
00048         typedef int64_t                 int64;
00049         typedef u_int64_t                       uint64;
00050         typedef int32_t         int32;
00051         typedef u_int32_t       uint32;
00052 #endif
00053         typedef ptrdiff_t               sizediff_t;
00054         typedef intptr_t                intptr;
00055         typedef uintptr_t               uintptr;
00056         typedef size_t                  SizeType;
00057 }
00058 
00059 #endif // _AI_BASIC_TYPES_


Contents Suites Classes Class Index Member Index
Adobe Solutions Network
 
Copyright © 2016 Adobe Systems Incorporated. All rights reserved.
Terms of Use Online Privacy Policy Adobe and accessibility Avoid software piracy Permissions and Trademarks