aboutsummaryrefslogtreecommitdiffhomepage
path: root/php/ext/google/protobuf/protobuf.h
diff options
context:
space:
mode:
authorGravatar Bo Yang <teboring@google.com>2017-09-12 15:04:34 -0700
committerGravatar Bo Yang <teboring@google.com>2017-09-12 15:04:34 -0700
commitf46a01d0c13295eec279b9a17021b38d85b41205 (patch)
treea6e284e9fa02f6a2dfbf9b834090572832f80566 /php/ext/google/protobuf/protobuf.h
parentddb9ef9cc3f9a7eab1ddf7ff90ecf2400e93c2b8 (diff)
Exclude valid constant name from reserved name.
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 010cb25f..24bccb14 100644
--- a/php/ext/google/protobuf/protobuf.h
+++ b/php/ext/google/protobuf/protobuf.h
@@ -934,5 +934,6 @@ const zend_class_entry* field_type_class(
// Reserved name
bool is_reserved_name(const char* name);
+bool is_valid_constant_name(const char* name);
#endif // __GOOGLE_PROTOBUF_PHP_PROTOBUF_H__