logo       

cvs: pear /PECL/apd php_apd.c: msg#00462

Subject: cvs: pear /PECL/apd php_apd.c
gschlossnagle           Wed Oct 30 13:01:22 2002 EDT

  Modified files:              
    /pear/PECL/apd      php_apd.c 
  Log:
  added constants for old style tracing params
  fied version dependent ifdef
  
  
Index: pear/PECL/apd/php_apd.c
diff -u pear/PECL/apd/php_apd.c:1.42 pear/PECL/apd/php_apd.c:1.43
--- pear/PECL/apd/php_apd.c:1.42        Wed Oct 30 10:27:59 2002
+++ pear/PECL/apd/php_apd.c     Wed Oct 30 13:01:21 2002
@@ -55,7 +55,7 @@
 ZEND_DLEXPORT zend_op_array* apd_compile_file(zend_file_handle* TSRMLS_DC);
 ZEND_DLEXPORT zend_op_array* (*old_compile_file)(zend_file_handle* TSRMLS_DC);
 ZEND_DLEXPORT void apd_execute(zend_op_array *op_array TSRMLS_DC);
-#if  ZEND_EXTENSION_API_NO > 20020731
+#if  ZEND_EXTENSION_API_NO >= 20020731
 ZEND_DLEXPORT void apd_execute_internal(zend_execute_data *execute_data_ptr, 
int return_value_used TSRMLS_DC);
 #endif
 ZEND_DLEXPORT void (*old_execute)(zend_op_array *op_array TSRMLS_DC);
@@ -607,6 +607,15 @@
        REGISTER_INI_ENTRIES();
         REGISTER_LONG_CONSTANT("APD_AF_UNIX",      AF_UNIX,        CONST_CS | 
CONST_PERSISTENT);
         REGISTER_LONG_CONSTANT("APD_AF_INET",       AF_INET,        CONST_CS | 
CONST_PERSISTENT);
+        REGISTER_LONG_CONSTANT("APD_FUNCTION_TRACE", FUNCTION_TRACE, CONST_CS 
| CONST_PERSISTENT);
+        REGISTER_LONG_CONSTANT("APD_ARGS_TRACE", ARGS_TRACE, CONST_CS | 
CONST_PERSISTENT);
+        REGISTER_LONG_CONSTANT("APD_ASSIGNMENT_TRACE", ASSIGNMENT_TRACE, 
CONST_CS | CONST_PERSISTENT);
+        REGISTER_LONG_CONSTANT("APD_STATEMENT_TRACE", STATEMENT_TRACE, 
CONST_CS | CONST_PERSISTENT);
+        REGISTER_LONG_CONSTANT("APD_MEMORY_TRACE", MEMORY_TRACE, CONST_CS | 
CONST_PERSISTENT);
+        REGISTER_LONG_CONSTANT("APD_TIMING_TRACE", TIMING_TRACE, CONST_CS | 
CONST_PERSISTENT);
+        REGISTER_LONG_CONSTANT("APD_SUMMARY_TRACE", SUMMARY_TRACE, CONST_CS | 
CONST_PERSISTENT);
+        REGISTER_LONG_CONSTANT("APD_ERROR_TRACE", ERROR_TRACE, CONST_CS | 
CONST_PERSISTENT);
+        REGISTER_LONG_CONSTANT("APD_PROF_TRACE", PROF_TRACE, CONST_CS | 
CONST_PERSISTENT);
 #ifdef TRACE_ZEND_COMPILE /* we can trace the time to compile things. */
        gettimeofday(&APD_GLOBALS(req_begin), NULL);
 //     gettimeofday(&APD_GLOBALS(last_call), NULL);



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




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
science.linguis...    culture.sf.lite...    video.mplayer.c...    yellowdog.gener...    ietf.rfc822/199...    emacs.help/2002...    redhat.release....    kernel.speakup/...    java.openejb.de...    debian.devel.gt...    xfree86.newbie/...    bug-tracking.ma...    pam/2003-05/msg...    games.devel.ope...    user-groups.lin...    music.pancham/2...    network.mq.deve...    web.html.genera...    arklinux.bugs/2...    linux.ecasound/...    qnx.openqnx.dev...    org.user-groups...    file-systems.sf...    trustix.contrib...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe