logo       

cvs: ZendEngine2 / zend_operators.h: msg#00014

Subject: cvs: ZendEngine2 / zend_operators.h
andrei          Fri Sep  8 17:19:42 2006 UTC

  Modified files:              
    /ZendEngine2        zend_operators.h 
  Log:
  convert_to_string_with_converter_ex()
  
  
http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_operators.h?r1=1.112&r2=1.113&diff_format=u
Index: ZendEngine2/zend_operators.h
diff -u ZendEngine2/zend_operators.h:1.112 ZendEngine2/zend_operators.h:1.113
--- ZendEngine2/zend_operators.h:1.112  Tue Aug  8 10:53:06 2006
+++ ZendEngine2/zend_operators.h        Fri Sep  8 17:19:42 2006
@@ -17,7 +17,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: zend_operators.h,v 1.112 2006/08/08 10:53:06 tony2001 Exp $ */
+/* $Id: zend_operators.h,v 1.113 2006/09/08 17:19:42 andrei Exp $ */
 
 #ifndef ZEND_OPERATORS_H
 #define ZEND_OPERATORS_H
@@ -375,6 +375,12 @@
 #define convert_to_null_ex(ppzv)       convert_to_ex_master(ppzv, null, NULL)
 #define convert_to_text_ex(ppzv)       if (UG(unicode)) 
{convert_to_unicode_ex(ppzv);} else {convert_to_string_ex(ppzv);}
 
+#define convert_to_string_with_converter_ex(ppzv, conv) \
+       if (Z_TYPE_PP(ppzv) != IS_STRING) {                                     
\
+               SEPARATE_ZVAL_IF_NOT_REF(ppzv);                                 
\
+               convert_to_string_with_converter(*ppzv, conv);  \
+       }
+
 #define convert_scalar_to_number_ex(ppzv)                                      
                \
        if (Z_TYPE_PP(ppzv)!=IS_LONG && Z_TYPE_PP(ppzv)!=IS_DOUBLE) {           
\
                if (!(*ppzv)->is_ref) {                                         
                                \

-- 
Zend Engine CVS Mailing List (http://cvs.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