upb: fix upb_MiniTableField_IsInOneof() to be UPB_API_INLINE everywhere

PiperOrigin-RevId: 611488947
pull/15975/head
Eric Salo 9 months ago committed by Copybara-Service
parent 7e7a7bcadf
commit 4502dd1ea3
  1. 2
      upb/mini_table/internal/field.h

@ -154,7 +154,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;
}

Loading…
Cancel
Save