Patch get_degug_info-handlers for amqp Bug #62354
Patch version 2012-06-18 16:37 UTC
Return to Bug #62354 |
Download this patch
Patch Revisions:
Developer: jpauli@php.net
Index: trunk/amqp_envelope.c
===================================================================
--- trunk/amqp_envelope.c (révision 326218)
+++ trunk/amqp_envelope.c (copie de travail)
@@ -163,7 +163,7 @@
new_value.handle = zend_objects_store_put(envelope, (zend_objects_store_dtor_t)zend_objects_destroy_object, (zend_objects_free_object_storage_t)amqp_envelope_dtor, NULL TSRMLS_CC);
-#if 0 && PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION >= 3
+#if PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION >= 3
zend_object_handlers *handlers;
handlers = zend_get_std_object_handlers();
handlers->get_debug_info = amqp_envelope_object_get_debug_info;
Index: trunk/amqp_exchange.c
===================================================================
--- trunk/amqp_exchange.c (révision 326218)
+++ trunk/amqp_exchange.c (copie de travail)
@@ -118,7 +118,7 @@
NULL TSRMLS_CC
);
-#if 0 && PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION >= 3
+#if PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION >= 3
zend_object_handlers *handlers;
handlers = zend_get_std_object_handlers();
handlers->get_debug_info = amqp_exchange_object_get_debug_info;
Index: trunk/amqp_queue.c
===================================================================
--- trunk/amqp_queue.c (révision 326218)
+++ trunk/amqp_queue.c (copie de travail)
@@ -129,7 +129,7 @@
NULL TSRMLS_CC
);
-#if 0 && PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION >= 3
+#if PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION >= 3
zend_object_handlers *handlers;
handlers = zend_get_std_object_handlers();
handlers->get_debug_info = amqp_queue_object_get_debug_info;
|