diff options
author | Paul Yang <TeBoring@users.noreply.github.com> | 2017-02-11 16:36:17 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-11 16:36:17 -0800 |
commit | 74eb9a0a304a3261f3c83e100f51081986ac8ba6 (patch) | |
tree | d7171743decd0b21fdf60fc76d5fd0509ebceeda /php/ext/google/protobuf/protobuf.h | |
parent | ef927cc428db7bf41d3a593a16a8f1a0fe6306c5 (diff) | |
download | protobuf-74eb9a0a304a3261f3c83e100f51081986ac8ba6.tar.gz protobuf-74eb9a0a304a3261f3c83e100f51081986ac8ba6.tar.bz2 protobuf-74eb9a0a304a3261f3c83e100f51081986ac8ba6.zip |
Add clear method to PHP message (#2700)
Diffstat (limited to 'php/ext/google/protobuf/protobuf.h')
-rw-r--r-- | php/ext/google/protobuf/protobuf.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/php/ext/google/protobuf/protobuf.h b/php/ext/google/protobuf/protobuf.h index 678f2682..d4737fb9 100644 --- a/php/ext/google/protobuf/protobuf.h +++ b/php/ext/google/protobuf/protobuf.h @@ -244,6 +244,7 @@ const char* layout_get_oneof_case(MessageLayout* layout, const void* storage, const upb_oneofdef* oneof TSRMLS_DC); void free_layout(MessageLayout* layout); +PHP_METHOD(Message, clear); PHP_METHOD(Message, readOneof); PHP_METHOD(Message, writeOneof); PHP_METHOD(Message, whichOneof); |