diff options
author | Bo Yang <teboring@google.com> | 2017-09-12 15:04:34 -0700 |
---|---|---|
committer | Bo Yang <teboring@google.com> | 2017-09-12 15:04:34 -0700 |
commit | f46a01d0c13295eec279b9a17021b38d85b41205 (patch) | |
tree | a6e284e9fa02f6a2dfbf9b834090572832f80566 /php/ext/google/protobuf/protobuf.h | |
parent | ddb9ef9cc3f9a7eab1ddf7ff90ecf2400e93c2b8 (diff) | |
download | protobuf-f46a01d0c13295eec279b9a17021b38d85b41205.tar.gz protobuf-f46a01d0c13295eec279b9a17021b38d85b41205.tar.bz2 protobuf-f46a01d0c13295eec279b9a17021b38d85b41205.zip |
Exclude valid constant name from reserved name.
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 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__ |