blob: 2a9fe91e30302c6dcb3b9b0892821237d91d465e [file] [log] [blame] [edit]
use crate::opaque_pointee::opaque_pointee;
use crate::{upb_MiniTable, RawArena};
use std::ptr::NonNull;
opaque_pointee!(upb_Message);
pub type RawMessage = NonNull<upb_Message>;
extern "C" {
pub fn upb_Message_DeepCopy(
dst: RawMessage,
src: RawMessage,
mini_table: *const upb_MiniTable,
arena: RawArena,
);
pub fn upb_Message_DeepClone(
m: RawMessage,
mini_table: *const upb_MiniTable,
arena: RawArena,
) -> Option<RawMessage>;
}