- no forced pass_by_ref for objects
authorMichael Wallner <mike@php.net>
Thu, 15 Sep 2005 15:10:41 +0000 (15:10 +0000)
committerMichael Wallner <mike@php.net>
Thu, 15 Sep 2005 15:10:41 +0000 (15:10 +0000)
php_http_std_defs.h

index 74db7d43070acab2bb822e69117519ffebee3651..a2b753faf789eded880711c838dce4ddee1cb84b 100644 (file)
@@ -305,7 +305,7 @@ typedef int STATUS;
 #      define HTTP_EMPTY_ARGS_EX(class, method, ret_ref)                       HTTP_BEGIN_ARGS_EX(class, method, ret_ref, 0) HTTP_END_ARGS
 #      define HTTP_ARGS(class, method)                                                         args_for_ ##class## _ ##method
 #      define HTTP_ARG_VAL(name, pass_ref)                                                     ZEND_ARG_INFO(pass_ref, name)
-#      define HTTP_ARG_OBJ(class, name, allow_null)                            ZEND_ARG_OBJ_INFO(1, name, class, allow_null)
+#      define HTTP_ARG_OBJ(class, name, allow_null)                            ZEND_ARG_OBJ_INFO(0, name, class, allow_null)
 #endif
 
 #ifdef ZEND_ENGINE_2