• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Protocol Buffers - Google's data interchange format
2 // Copyright 2023 Google Inc.  All rights reserved.
3 //
4 // Use of this source code is governed by a BSD-style
5 // license that can be found in the LICENSE file or at
6 // https://developers.google.com/open-source/licenses/bsd
7 
8 // -----------------------------------------------------------------------------
9 // Ruby Message functions. Strictly free of dependencies on
10 // Ruby interpreter internals.
11 
12 #ifndef RUBY_PROTOBUF_SHARED_MESSAGE_H_
13 #define RUBY_PROTOBUF_SHARED_MESSAGE_H_
14 
15 #include "ruby-upb.h"
16 
17 // Returns a hash value for the given message.
18 uint64_t shared_Message_Hash(const upb_Message* msg, const upb_MessageDef* m,
19                              uint64_t seed, upb_Status* status);
20 
21 #endif  // RUBY_PROTOBUF_SHARED_MESSAGE_H_
22