Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
protobuf
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
protobuf
Commits
cd044e9c
Commit
cd044e9c
authored
Mar 27, 2019
by
Bo Yang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Sync latest upb changes
parent
8645d893
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
def.c
php/ext/google/protobuf/def.c
+2
-2
upb.h
php/ext/google/protobuf/upb.h
+7
-0
No files found.
php/ext/google/protobuf/def.c
View file @
cd044e9c
...
...
@@ -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_parse
new
(
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
"
);
...
...
php/ext/google/protobuf/upb.h
View file @
cd044e9c
/* 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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment