The OpenD Programming Language

dylib_command

A dynamically linked shared library (filetype == MH_DYLIB in the mach header) contains a dylib_command (cmd == LC_ID_DYLIB) to identify the library. An object that uses a dynamically linked shared library also contains a dylib_command (cmd == LC_LOAD_DYLIB, LC_LOAD_WEAK_DYLIB, or LC_REEXPORT_DYLIB) for each library it uses.

version(CoreDdoc)
struct dylib_command {}

Members

Variables

cmd
uint cmd;

LC_ID_DYLIB, LC_LOAD_{,WEAK_}DYLIB, LC_REEXPORT_DYLIB.

cmdsize
uint cmdsize;

Includes pathname string.

dylib_
dylib dylib_;

The library identification.

Meta