Commit cd044e9c authored by Bo Yang's avatar Bo Yang

Sync latest upb changes

parent 8645d893
......@@ -896,8 +896,8 @@ const upb_filedef *parse_and_add_descriptor(const char *data,
const upb_filedef* file;
upb_status status;
set = google_protobuf_FileDescriptorSet_parsenew(
upb_strview_make(data, data_len), arena);
set = google_protobuf_FileDescriptorSet_parse(
data, data_len, arena);
if (!set) {
zend_error(E_ERROR, "Failed to parse binary descriptor\n");
......
/* Amalgamated source file */
// php.h intentionally defined NDEBUG. We have to define this macro in order to
// be used together with php.h
#ifndef NDEBUG
#define NDEBUG
#endif
#include <stdint.h>
#ifndef UINTPTR_MAX
#error must include stdint.h first
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment