aboutsummaryrefslogtreecommitdiffhomepage
path: root/php/ext/google/protobuf/protobuf.h
diff options
context:
space:
mode:
authorGravatar Paul Yang <TeBoring@users.noreply.github.com>2017-08-02 18:33:25 -0700
committerGravatar GitHub <noreply@github.com>2017-08-02 18:33:25 -0700
commit25672c175792f707c71c9aa9fcd29cab31c757fa (patch)
tree8694aeec1617ab1c1fd07473878bd1ac4d085a58 /php/ext/google/protobuf/protobuf.h
parent9df89ccabcf8ad7d634009a00faf0e9ba153bdb7 (diff)
Add getClass for php Descriptor in c extension (#3443)
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 1f79fe8c..44a4155f 100644
--- a/php/ext/google/protobuf/protobuf.h
+++ b/php/ext/google/protobuf/protobuf.h
@@ -508,6 +508,7 @@ PHP_PROTO_WRAP_OBJECT_START(Descriptor)
const upb_handlers* json_serialize_handlers_preserve;
PHP_PROTO_WRAP_OBJECT_END
+PHP_METHOD(Descriptor, getClass);
PHP_METHOD(Descriptor, getFullName);
PHP_METHOD(Descriptor, getField);
PHP_METHOD(Descriptor, getFieldCount);