com php-src: Changed order of types: Zend/zend_types.h
| From: | Dmitry Stogov | Date: | Tue, 29 Apr 2014 06:54:59 +0000 |
| Subject: | com php-src: Changed order of types: Zend/zend_types.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-77266@lists.php.net to get a copy of this message | ||
Commit: 8a8df2ce68918d1abbc72236cf171940b00198eb
Author: Dmitry Stogov <dmitry@zend.com> Tue, 29 Apr 2014 10:54:59 +0400
Parents: 7c93a7e078f7ea300c4a141ab2226eb63e97497a
Branches: phpng
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=8a8df2ce68918d1abbc72236cf171940b00198eb
Log:
Changed order of types
Changed paths:
M Zend/zend_types.h
Diff:
diff --git a/Zend/zend_types.h b/Zend/zend_types.h
index 2afd54f..423672d 100644
--- a/Zend/zend_types..h
+++ b/Zend/zend_types.h
@@ -201,24 +201,28 @@ struct _zend_ast_ref {
zend_ast *ast;
};
-/* data types */
+/* regular data types */
#define IS_UNDEF 0
#define IS_NULL 1
-#define IS_INDIRECT 2
-#define IS_BOOL 3
-#define IS_LONG 4
-#define IS_DOUBLE 5
-#define IS_STRING 6
-#define IS_ARRAY 7
-#define IS_OBJECT 8
-#define IS_RESOURCE 9
-#define IS_REFERENCE 10
-
-#define IS_CONSTANT 11
-#define IS_CONSTANT_ARRAY 12
-#define IS_CONSTANT_AST 13
-#define IS_CALLABLE 14
-
+#define IS_BOOL 2
+#define IS_LONG 3
+#define IS_DOUBLE 4
+#define IS_STRING 5
+#define IS_ARRAY 6
+#define IS_OBJECT 7
+#define IS_RESOURCE 8
+#define IS_REFERENCE 9
+
+/* constant expressions */
+#define IS_CONSTANT 10
+#define IS_CONSTANT_ARRAY 11
+#define IS_CONSTANT_AST 12
+
+/* type hinting */
+#define IS_CALLABLE 13
+
+/* internal types */
+#define IS_INDIRECT 14
#define IS_STR_OFFSET 15
#define IS_PTR 16