johannes                                 Tue, 30 Mar 2010 23:14:19 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=297210

Log:
Add some const declarations, makes C++ extension writers happy

Changed paths:
    U   php/php-src/trunk/Zend/zend.h

Modified: php/php-src/trunk/Zend/zend.h
===================================================================
--- php/php-src/trunk/Zend/zend.h       2010-03-30 23:03:59 UTC (rev 297209)
+++ php/php-src/trunk/Zend/zend.h       2010-03-30 23:14:19 UTC (rev 297210)
@@ -200,9 +200,9 @@
 #endif

 #if ZEND_DEBUG
-#define ZEND_FILE_LINE_D                               char *__zend_filename, 
uint __zend_lineno
+#define ZEND_FILE_LINE_D                               const char 
*__zend_filename, const uint __zend_lineno
 #define ZEND_FILE_LINE_DC                              , ZEND_FILE_LINE_D
-#define ZEND_FILE_LINE_ORIG_D                  char *__zend_orig_filename, 
uint __zend_orig_lineno
+#define ZEND_FILE_LINE_ORIG_D                  const char 
*__zend_orig_filename, const uint __zend_orig_lineno
 #define ZEND_FILE_LINE_ORIG_DC                 , ZEND_FILE_LINE_ORIG_D
 #define ZEND_FILE_LINE_RELAY_C                 __zend_filename, __zend_lineno
 #define ZEND_FILE_LINE_RELAY_CC                        , ZEND_FILE_LINE_RELAY_C

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to