cvs: Zend / zend.h zend_types.h
| From: | Andi Gutmans | Date: | Mon, 24 Jun 2002 07:10:20 +0000 |
| Subject: | cvs: Zend / zend.h zend_types.h | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-191@lists.php.net to get a copy of this message | ||
andi Mon Jun 24 03:10:20 2002 EDT
Added files:
/Zend zend_types.h
Modified files:
/Zend zend.h
Log:
- Move type definitions out of zend.h so that we can include them without
- having to include all of zend.h (which sometimes causes circular
- dependencies)
Index: Zend/zend.h
diff -u Zend/zend.h:1.154 Zend/zend.h:1.155
--- Zend/zend.h:1.154 Tue May 28 04:53:13 2002
+++ Zend/zend.h Mon Jun 24 03:10:19 2002
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend.h,v 1.154 2002/05/28 08:53:13 rvenkat Exp $ */
+/* $Id: zend.h,v 1.155 2002/06/24 07:10:19 andi Exp $ */
#ifndef ZEND_H
#define ZEND_H
@@ -177,11 +177,7 @@
#include "zend_errors.h"
#include "zend_alloc.h"
-typedef unsigned char zend_bool;
-typedef unsigned char zend_uchar;
-typedef unsigned int zend_uint;
-typedef unsigned long zend_ulong;
-typedef unsigned short zend_ushort;
+#include "zend_types.h"
#ifdef HAVE_LIMITS_H
# include <limits.h>
Index: Zend/zend_types.h
+++ Zend/zend_types.h
/*
+----------------------------------------------------------------------+
| Zend Engine |
+----------------------------------------------------------------------+
| Copyright (c) 1998-2002 Zend Technologies Ltd. (http://www.zend.com) |
+----------------------------------------------------------------------+
| This source file is subject to version 2.00 of the Zend license, |
| that is bundled with this package in the file LICENSE, and is |
| available at through the world-wide-web at |
| http://www.zend.com/license/2_00.txt.
|
| If you did not receive a copy of the Zend license and are unable to |
| obtain it through the world-wide-web, please send a note to |
| license@zend.com so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
| Authors: Andi Gutmans <andi@zend.com> |
| Zeev Suraski <zeev@zend.com> |
+----------------------------------------------------------------------+
*/
#ifndef ZEND_TYPES_H
#define ZEND_TYPES_H
typedef unsigned char zend_bool;
typedef unsigned char zend_uchar;
typedef unsigned int zend_uint;
typedef unsigned long zend_ulong;
typedef unsigned short zend_ushort;
#endif /* ZEND_TYPES_H */