diff options
author | Paul Yang <TeBoring@users.noreply.github.com> | 2017-09-05 14:10:32 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-05 14:10:32 -0700 |
commit | 7f8b91f552e80964d995712c26306410854d8ad1 (patch) | |
tree | d00ef6869c14f07672f75e23988a3ab1db20dbf7 /php/ext/google/protobuf/protobuf.c | |
parent | 35b852f5b84c4bd3cd49652e9473a001aa00d295 (diff) | |
download | protobuf-7f8b91f552e80964d995712c26306410854d8ad1.tar.gz protobuf-7f8b91f552e80964d995712c26306410854d8ad1.tar.bz2 protobuf-7f8b91f552e80964d995712c26306410854d8ad1.zip |
Add native php support for Duration. (#3583)
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 ec4e6523..42bc31cf 100644 --- a/php/ext/google/protobuf/protobuf.c +++ b/php/ext/google/protobuf/protobuf.c @@ -257,6 +257,7 @@ static PHP_MINIT_FUNCTION(protobuf) { repeated_field_iter_init(TSRMLS_C); util_init(TSRMLS_C); any_init(TSRMLS_C); + duration_init(TSRMLS_C); timestamp_init(TSRMLS_C); return 0; |