aboutsummaryrefslogtreecommitdiff
path: root/php/ext/google/protobuf/protobuf.c
diff options
context:
space:
mode:
authorPaul Yang <TeBoring@users.noreply.github.com>2016-11-08 11:38:34 -0800
committerGitHub <noreply@github.com>2016-11-08 11:38:34 -0800
commit1f2dbc899b634f3236e1923a90683eebed283d52 (patch)
treeff3da4a7614582c48ee6b2964931803ccb30fe89 /php/ext/google/protobuf/protobuf.c
parent0d7199edc802299bdba39400c04f119c7db82667 (diff)
downloadprotobuf-1f2dbc899b634f3236e1923a90683eebed283d52.tar.gz
protobuf-1f2dbc899b634f3236e1923a90683eebed283d52.tar.bz2
protobuf-1f2dbc899b634f3236e1923a90683eebed283d52.zip
Implement RepeatedFieldIter for c extension. (#2333)
Diffstat (limited to 'php/ext/google/protobuf/protobuf.c')
-rw-r--r--php/ext/google/protobuf/protobuf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/php/ext/google/protobuf/protobuf.c b/php/ext/google/protobuf/protobuf.c
index 019bca29..ea85b999 100644
--- a/php/ext/google/protobuf/protobuf.c
+++ b/php/ext/google/protobuf/protobuf.c
@@ -156,6 +156,7 @@ static PHP_RSHUTDOWN_FUNCTION(protobuf) {
static PHP_MINIT_FUNCTION(protobuf) {
map_field_init(TSRMLS_C);
repeated_field_init(TSRMLS_C);
+ repeated_field_iter_init(TSRMLS_C);
gpb_type_init(TSRMLS_C);
message_init(TSRMLS_C);
descriptor_pool_init(TSRMLS_C);