restore the declaration of _upb_Hash()

It turns out that this function is, annoyingly, being used by Ruby.

PiperOrigin-RevId: 490305008
pull/13171/head
Eric Salo 2 years ago committed by Copybara-Service
parent a1d054be85
commit efb166b3b0
  1. 3
      upb/hash/common.h

@ -185,8 +185,11 @@ UPB_INLINE size_t upb_table_size(const upb_table* t) {
} }
// Internal-only functions, in .h file only out of necessity. // Internal-only functions, in .h file only out of necessity.
UPB_INLINE bool upb_tabent_isempty(const upb_tabent* e) { return e->key == 0; } UPB_INLINE bool upb_tabent_isempty(const upb_tabent* e) { return e->key == 0; }
uint32_t _upb_Hash(const void* p, size_t n, uint64_t seed);
#ifdef __cplusplus #ifdef __cplusplus
} /* extern "C" */ } /* extern "C" */
#endif #endif

Loading…
Cancel
Save