Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proper support AMQP for array and timestamp types for dead lettering #272

Merged
merged 16 commits into from
Mar 6, 2017
Prev Previous commit
Next Next commit
Add TSRMLS_CC
  • Loading branch information
lstrojny committed Mar 5, 2017
commit 2bb1a68fac68390f5516d8c5719d6d20657d92a7
2 changes: 1 addition & 1 deletion amqp_type.c
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ zend_bool php_amqp_type_internal_convert_php_to_amqp_field_value(zval *value, am
field->kind = AMQP_FIELD_KIND_VOID;
break;
case IS_OBJECT:
if (instanceof_function(Z_OBJCE_P(value), amqp_timestamp_class_entry)) {
if (instanceof_function(Z_OBJCE_P(value), amqp_timestamp_class_entry TSRMLS_CC)) {
#if PHP_MAJOR_VERSION >= 7
zval result;
zend_call_method_with_0_params(value, amqp_timestamp_class_entry, NULL, "gettimestamp", &result);
Expand Down