Switched events to use native objects instead of wrappers
Change on 2015/01/02 by mlumish <mlumish@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83146045
diff --git a/src/php/ext/grpc/call.h b/src/php/ext/grpc/call.h
index c433e6f..4151c76 100755
--- a/src/php/ext/grpc/call.h
+++ b/src/php/ext/grpc/call.h
@@ -19,6 +19,7 @@
typedef struct wrapped_grpc_call {
zend_object std;
+ bool owned;
grpc_call *wrapped;
} wrapped_grpc_call;
@@ -26,7 +27,7 @@
void grpc_init_call(TSRMLS_D);
/* Creates a Call object that wraps the given grpc_call struct */
-zval *grpc_php_wrap_call(grpc_call *wrapped);
+zval *grpc_php_wrap_call(grpc_call *wrapped, bool owned);
/* Creates and returns a PHP associative array of metadata from a C array of
* call metadata */