Index: third_party/protobuf/php/ext/google/protobuf/utf8.h |
diff --git a/third_party/protobuf/python/google/protobuf/internal/any_test.proto b/third_party/protobuf/php/ext/google/protobuf/utf8.h |
similarity index 88% |
copy from third_party/protobuf/python/google/protobuf/internal/any_test.proto |
copy to third_party/protobuf/php/ext/google/protobuf/utf8.h |
index cd641ca0b8efaab4d60767f359490946f90400fb..28b8d874a8b53ef6cd78640ff490b52f4e07e071 100644 |
--- a/third_party/protobuf/python/google/protobuf/internal/any_test.proto |
+++ b/third_party/protobuf/php/ext/google/protobuf/utf8.h |
@@ -28,15 +28,9 @@ |
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
-// Author: jieluo@google.com (Jie Luo) |
+#ifndef GOOGLE_PROTOBUF_UTF8_H_ |
+#define GOOGLE_PROTOBUF_UTF8_H_ |
-syntax = "proto3"; |
+bool is_structurally_valid_utf8(const char* buf, int len); |
-package google.protobuf.internal; |
- |
-import "google/protobuf/any.proto"; |
- |
-message TestAny { |
- google.protobuf.Any value = 1; |
- int32 int_value = 2; |
-} |
+#endif // GOOGLE_PROTOBUF_UTF8_H_ |