Function getDylibPathName [src]

Asserts LoadCommand is of type dylib_command.

Prototype

pub fn getDylibPathName(lc: LoadCommand) []const u8

Parameters

lc: LoadCommand

Source

pub fn getDylibPathName(lc: LoadCommand) []const u8 { const dylib_lc = lc.cast(dylib_command).?; const data = lc.data[dylib_lc.dylib.name..]; return mem.sliceTo(data, 0); }