diff options
author | Paul Yang <TeBoring@users.noreply.github.com> | 2016-11-08 11:38:34 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-08 11:38:34 -0800 |
commit | 1f2dbc899b634f3236e1923a90683eebed283d52 (patch) | |
tree | ff3da4a7614582c48ee6b2964931803ccb30fe89 /php/ext/google/protobuf/protobuf.c | |
parent | 0d7199edc802299bdba39400c04f119c7db82667 (diff) | |
download | protobuf-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.c | 1 |
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); |