Auto-generate files after cl/676683430

pull/18439/head
Protobuf Team Bot 2 months ago
parent ce6dbe478a
commit 960b95939b
  1. 13
      php/ext/google/protobuf/php-upb.c
  2. 13
      php/ext/google/protobuf/php-upb.h
  3. 13
      ruby/ext/google/protobuf_c/ruby-upb.c
  4. 13
      ruby/ext/google/protobuf_c/ruby-upb.h

@ -426,6 +426,17 @@ void __asan_unpoison_memory_region(void const volatile *addr, size_t size);
#endif #endif
// Future versions of upb will include breaking changes to some APIs.
// This macro can be set to enable these API changes ahead of time, so that
// user code can be updated before upgrading versions of protobuf.
#ifdef UPB_FUTURE_BREAKING_CHANGES
// Properly enforce closed enums in python.
// Owner: mkruskal@
#define UPB_FUTURE_PYTHON_CLOSED_ENUM_ENFORCEMENT 1
#endif
#include <errno.h> #include <errno.h>
#include <float.h> #include <float.h>
@ -17130,3 +17141,5 @@ upb_ServiceDef* _upb_ServiceDefs_New(upb_DefBuilder* ctx, int n,
#undef UPB_LINKARR_APPEND #undef UPB_LINKARR_APPEND
#undef UPB_LINKARR_START #undef UPB_LINKARR_START
#undef UPB_LINKARR_STOP #undef UPB_LINKARR_STOP
#undef UPB_FUTURE_BREAKING_CHANGES
#undef UPB_FUTURE_PYTHON_CLOSED_ENUM_ENFORCEMENT

@ -425,6 +425,17 @@ void __asan_unpoison_memory_region(void const volatile *addr, size_t size);
#endif #endif
// Future versions of upb will include breaking changes to some APIs.
// This macro can be set to enable these API changes ahead of time, so that
// user code can be updated before upgrading versions of protobuf.
#ifdef UPB_FUTURE_BREAKING_CHANGES
// Properly enforce closed enums in python.
// Owner: mkruskal@
#define UPB_FUTURE_PYTHON_CLOSED_ENUM_ENFORCEMENT 1
#endif
#ifndef UPB_BASE_STATUS_H_ #ifndef UPB_BASE_STATUS_H_
#define UPB_BASE_STATUS_H_ #define UPB_BASE_STATUS_H_
@ -15346,3 +15357,5 @@ upb_MethodDef* _upb_MethodDefs_New(upb_DefBuilder* ctx, int n,
#undef UPB_LINKARR_APPEND #undef UPB_LINKARR_APPEND
#undef UPB_LINKARR_START #undef UPB_LINKARR_START
#undef UPB_LINKARR_STOP #undef UPB_LINKARR_STOP
#undef UPB_FUTURE_BREAKING_CHANGES
#undef UPB_FUTURE_PYTHON_CLOSED_ENUM_ENFORCEMENT

@ -426,6 +426,17 @@ void __asan_unpoison_memory_region(void const volatile *addr, size_t size);
#endif #endif
// Future versions of upb will include breaking changes to some APIs.
// This macro can be set to enable these API changes ahead of time, so that
// user code can be updated before upgrading versions of protobuf.
#ifdef UPB_FUTURE_BREAKING_CHANGES
// Properly enforce closed enums in python.
// Owner: mkruskal@
#define UPB_FUTURE_PYTHON_CLOSED_ENUM_ENFORCEMENT 1
#endif
#include <errno.h> #include <errno.h>
#include <float.h> #include <float.h>
@ -16618,3 +16629,5 @@ upb_ServiceDef* _upb_ServiceDefs_New(upb_DefBuilder* ctx, int n,
#undef UPB_LINKARR_APPEND #undef UPB_LINKARR_APPEND
#undef UPB_LINKARR_START #undef UPB_LINKARR_START
#undef UPB_LINKARR_STOP #undef UPB_LINKARR_STOP
#undef UPB_FUTURE_BREAKING_CHANGES
#undef UPB_FUTURE_PYTHON_CLOSED_ENUM_ENFORCEMENT

@ -427,6 +427,17 @@ void __asan_unpoison_memory_region(void const volatile *addr, size_t size);
#endif #endif
// Future versions of upb will include breaking changes to some APIs.
// This macro can be set to enable these API changes ahead of time, so that
// user code can be updated before upgrading versions of protobuf.
#ifdef UPB_FUTURE_BREAKING_CHANGES
// Properly enforce closed enums in python.
// Owner: mkruskal@
#define UPB_FUTURE_PYTHON_CLOSED_ENUM_ENFORCEMENT 1
#endif
#ifndef UPB_BASE_STATUS_H_ #ifndef UPB_BASE_STATUS_H_
#define UPB_BASE_STATUS_H_ #define UPB_BASE_STATUS_H_
@ -15159,3 +15170,5 @@ upb_MethodDef* _upb_MethodDefs_New(upb_DefBuilder* ctx, int n,
#undef UPB_LINKARR_APPEND #undef UPB_LINKARR_APPEND
#undef UPB_LINKARR_START #undef UPB_LINKARR_START
#undef UPB_LINKARR_STOP #undef UPB_LINKARR_STOP
#undef UPB_FUTURE_BREAKING_CHANGES
#undef UPB_FUTURE_PYTHON_CLOSED_ENUM_ENFORCEMENT

Loading…
Cancel
Save