pub fn getDylibPathName(lc: LoadCommand) []const u8 lc: LoadCommand1961
1962
1963
1964 pub fn getDylibPathName(lc: LoadCommand) []const u8 {
const dylib_lc = lc.cast(dylib_command).?;
return mem.sliceTo(lc.data[dylib_lc.dylib.name..], 0);
}
Asserts LoadCommand is of type dylib_command.