mirror of
https://github.com/protocolbuffers/protobuf
synced 2026-08-26 02:23:14 -04:00
This will mean that calling DebugString on a MessageLite* which is actually a full Message will get the debug info instead of the minimal output. PiperOrigin-RevId: 649103508
14 lines
388 B
C
14 lines
388 B
C
#ifndef GOOGLE_PROTOBUF_RUST_CPP_KERNEL_DEBUG_H__
|
|
#define GOOGLE_PROTOBUF_RUST_CPP_KERNEL_DEBUG_H__
|
|
|
|
#include "google/protobuf/message_lite.h"
|
|
#include "rust/cpp_kernel/strings.h"
|
|
|
|
extern "C" {
|
|
|
|
google::protobuf::rust::RustStringRawParts proto2_rust_utf8_debug_string(
|
|
const google::protobuf::MessageLite* msg);
|
|
|
|
} // extern "C"
|
|
|
|
#endif // GOOGLE_PROTOBUF_RUST_CPP_KERNEL_DEBUG_H__
|