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

Method InternalWrapMessage

eval/public/structs/cel_proto_wrapper.cc:36–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34} // namespace
35
36CelValue CelProtoWrapper::InternalWrapMessage(const Message* message) {
37 return CelValue::CreateMessageWrapper(
38 MessageWrapper(message, &GetGenericProtoTypeInfoInstance()));
39}
40
41// CreateMessage creates CelValue from google::protobuf::Message.
42// As some of CEL basic types are subclassing google::protobuf::Message,

Callers

nothing calls this directly

Calls 1

MessageWrapperFunction · 0.85

Tested by

no test coverage detected