|
|
@ -16,15 +16,8 @@ |
|
|
|
extern "C" { |
|
|
|
extern "C" { |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
/* Portable inlining strategy: use C99 rules except on GCC.
|
|
|
|
/* inline if possible, emit standalone code if required. */ |
|
|
|
* see: http://www.greenend.org.uk/rjk/2003/03/inline.html. */
|
|
|
|
#define INLINE static inline |
|
|
|
#ifndef INLINE |
|
|
|
|
|
|
|
# if __GNUC__ && !__GNUC_STDC_INLINE__ |
|
|
|
|
|
|
|
# define INLINE extern inline |
|
|
|
|
|
|
|
# else |
|
|
|
|
|
|
|
# define INLINE inline |
|
|
|
|
|
|
|
# endif |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* The maximum that any submessages can be nested. Matches proto2's limit. */ |
|
|
|
/* The maximum that any submessages can be nested. Matches proto2's limit. */ |
|
|
|
#define UPB_MAX_NESTING 64 |
|
|
|
#define UPB_MAX_NESTING 64 |
|
|
|