shallow_clone property
Pointer<NativeFunction<Pointer<Void> Function(Pointer<pj_pool_t> pool, Pointer<Void> hdr)> >
shallow_clone
getter/setter pair
Pointer to function to shallow clone the header. Shallow cloning will just make a memory copy of the original header, thus all pointers in original header will be kept intact. Because the function does not need to perform deep copy, the operation should be faster, but the application must make sure that the original header is still valid throughout the lifetime of new header.
@param pool Memory pool to allocate the new header. @param hdr The header to clone.
Implementation
external ffi.Pointer<
ffi.NativeFunction<
ffi.Pointer<ffi.Void> Function(
ffi.Pointer<pj_pool_t> pool, ffi.Pointer<ffi.Void> hdr)>>
shallow_clone;