MCPcopy Create free account
hub / github.com/cel-expr/cel-cpp / CheckArena

Method CheckArena

common/values/parsed_map_field_value.h:208–216  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

206 }
207
208 static absl::Status CheckArena(const google::protobuf::Message* absl_nullable message,
209 google::protobuf::Arena* absl_nonnull arena) {
210 if (message != nullptr && message->GetArena() != nullptr &&
211 message->GetArena() != arena) {
212 return absl::InvalidArgumentError(
213 "message arena must be the same as arena");
214 }
215 return absl::OkStatus();
216 }
217
218 const google::protobuf::Reflection* absl_nonnull GetReflection() const;
219

Callers

nothing calls this directly

Calls 1

GetArenaMethod · 0.45

Tested by

no test coverage detected