aboutsummaryrefslogtreecommitdiffhomepage
path: root/php/ext/google/protobuf/protobuf.h
diff options
context:
space:
mode:
authorGravatar Paul Yang <TeBoring@users.noreply.github.com>2017-11-30 12:19:50 -0800
committerGravatar GitHub <noreply@github.com>2017-11-30 12:19:50 -0800
commit74e7decbbf130485a5bc5d792fb4f9285143bce3 (patch)
tree69cfe486e2d69ecaf340b184f0b75651cfe57b43 /php/ext/google/protobuf/protobuf.h
parentcf65a7946fb42e941708d10adbce69924c6d1ee0 (diff)
Provide discardUnknonwnFields API in php (#3976)
* Provide discardUnknownFields API in php implementation * Provide discardUnknownFields API in php c extension.
Diffstat (limited to 'php/ext/google/protobuf/protobuf.h')
-rw-r--r--php/ext/google/protobuf/protobuf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/php/ext/google/protobuf/protobuf.h b/php/ext/google/protobuf/protobuf.h
index 967b21f1..ac42e714 100644
--- a/php/ext/google/protobuf/protobuf.h
+++ b/php/ext/google/protobuf/protobuf.h
@@ -969,6 +969,7 @@ PHP_METHOD(Message, serializeToString);
PHP_METHOD(Message, mergeFromString);
PHP_METHOD(Message, serializeToJsonString);
PHP_METHOD(Message, mergeFromJsonString);
+PHP_METHOD(Message, discardUnknownFields);
// -----------------------------------------------------------------------------
// Type check / conversion.