Function get [src]
The returned memory has the same lifetime as the DynamicLinker.
Prototype
pub fn get(dl: *const DynamicLinker) ?[]const u8
Parameters
dl: *const DynamicLinker
Source
pub fn get(dl: *const DynamicLinker) ?[]const u8 {
return if (dl.len > 0) dl.buffer[0..dl.len] else null;
}