aboutsummaryrefslogtreecommitdiff
path: root/php/ext/google/protobuf/message.c
diff options
context:
space:
mode:
authorAdam Cozzette <acozzette@google.com>2017-11-30 13:34:51 -0800
committerAdam Cozzette <acozzette@google.com>2017-11-30 13:34:51 -0800
commita27da093393d3dc7301d27fe328284335cb98528 (patch)
treef594ef198ba98a8860b26b3db6cfcc718222ca19 /php/ext/google/protobuf/message.c
parent6de51caed52d798815954646b230c5aef3e4d2fc (diff)
parent94bb1eed17209cacfdf2571be5a1ae91b3964cff (diff)
downloadprotobuf-a27da093393d3dc7301d27fe328284335cb98528.tar.gz
protobuf-a27da093393d3dc7301d27fe328284335cb98528.tar.bz2
protobuf-a27da093393d3dc7301d27fe328284335cb98528.zip
Merge branch '3.5.x' into 3.5.x-merge
Diffstat (limited to 'php/ext/google/protobuf/message.c')
-rw-r--r--php/ext/google/protobuf/message.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/php/ext/google/protobuf/message.c b/php/ext/google/protobuf/message.c
index 3fce2c17..6db010c5 100644
--- a/php/ext/google/protobuf/message.c
+++ b/php/ext/google/protobuf/message.c
@@ -42,6 +42,7 @@ static void hex_to_binary(const char* hex, char** binary, int* binary_len);
static zend_function_entry message_methods[] = {
PHP_ME(Message, clear, NULL, ZEND_ACC_PUBLIC)
+ PHP_ME(Message, discardUnknownFields, NULL, ZEND_ACC_PUBLIC)
PHP_ME(Message, serializeToString, NULL, ZEND_ACC_PUBLIC)
PHP_ME(Message, mergeFromString, NULL, ZEND_ACC_PUBLIC)
PHP_ME(Message, serializeToJsonString, NULL, ZEND_ACC_PUBLIC)