Back to index

php5  5.3.10
zend_types.h
Go to the documentation of this file.
00001 /*
00002    +----------------------------------------------------------------------+
00003    | Zend Engine                                                          |
00004    +----------------------------------------------------------------------+
00005    | Copyright (c) 1998-2012 Zend Technologies Ltd. (http://www.zend.com) |
00006    +----------------------------------------------------------------------+
00007    | This source file is subject to version 2.00 of the Zend license,     |
00008    | that is bundled with this package in the file LICENSE, and is        |
00009    | available through the world-wide-web at the following url:           |
00010    | http://www.zend.com/license/2_00.txt.                                |
00011    | If you did not receive a copy of the Zend license and are unable to  |
00012    | obtain it through the world-wide-web, please send a note to          |
00013    | license@zend.com so we can mail you a copy immediately.              |
00014    +----------------------------------------------------------------------+
00015    | Authors: Andi Gutmans <andi@zend.com>                                |
00016    |          Zeev Suraski <zeev@zend.com>                                |
00017    +----------------------------------------------------------------------+
00018 */
00019 
00020 /* $Id: zend_types.h 321634 2012-01-01 13:15:04Z felipe $ */
00021 
00022 #ifndef ZEND_TYPES_H
00023 #define ZEND_TYPES_H
00024 
00025 typedef unsigned char zend_bool;
00026 typedef unsigned char zend_uchar;
00027 typedef unsigned int zend_uint;
00028 typedef unsigned long zend_ulong;
00029 typedef unsigned short zend_ushort;
00030 
00031 #define HAVE_ZEND_LONG64
00032 #ifdef ZEND_WIN32
00033 typedef __int64 zend_long64;
00034 typedef unsigned __int64 zend_ulong64;
00035 #elif SIZEOF_LONG_LONG_INT == 8
00036 typedef long long int zend_long64;
00037 typedef unsigned long long int zend_ulong64;
00038 #elif SIZEOF_LONG_LONG == 8
00039 typedef long long zend_long64;
00040 typedef unsigned long long zend_ulong64;
00041 #else
00042 # undef HAVE_ZEND_LONG64
00043 #endif
00044 
00045 #ifdef _WIN64
00046 typedef __int64 zend_intptr_t;
00047 typedef unsigned __int64 zend_uintptr_t;
00048 #else
00049 typedef long zend_intptr_t;
00050 typedef unsigned long zend_uintptr_t;
00051 #endif
00052 
00053 typedef unsigned int zend_object_handle;
00054 typedef struct _zend_object_handlers zend_object_handlers;
00055 
00056 typedef struct _zend_object_value {
00057        zend_object_handle handle;
00058        zend_object_handlers *handlers;
00059 } zend_object_value;
00060 
00061 #endif /* ZEND_TYPES_H */
00062 
00063 /*
00064  * Local variables:
00065  * tab-width: 4
00066  * c-basic-offset: 4
00067  * indent-tabs-mode: t
00068  * End:
00069  */