diff --git a/php/ext/google/protobuf/php-upb.h b/php/ext/google/protobuf/php-upb.h index 3313bcd4cb..16b7fb310e 100644 --- a/php/ext/google/protobuf/php-upb.h +++ b/php/ext/google/protobuf/php-upb.h @@ -1205,7 +1205,7 @@ UPB_API_INLINE bool upb_MiniTableField_IsClosedEnum( return f->UPB_PRIVATE(descriptortype) == kUpb_FieldType_Enum; } -UPB_INLINE bool upb_MiniTableField_IsInOneof( +UPB_API_INLINE bool upb_MiniTableField_IsInOneof( const struct upb_MiniTableField* f) { return f->presence < 0; } diff --git a/ruby/ext/google/protobuf_c/ruby-upb.h b/ruby/ext/google/protobuf_c/ruby-upb.h index 812f4d8a1f..00d96b45cb 100755 --- a/ruby/ext/google/protobuf_c/ruby-upb.h +++ b/ruby/ext/google/protobuf_c/ruby-upb.h @@ -1207,7 +1207,7 @@ UPB_API_INLINE bool upb_MiniTableField_IsClosedEnum( return f->UPB_PRIVATE(descriptortype) == kUpb_FieldType_Enum; } -UPB_INLINE bool upb_MiniTableField_IsInOneof( +UPB_API_INLINE bool upb_MiniTableField_IsInOneof( const struct upb_MiniTableField* f) { return f->presence < 0; }