lookup<T extends NativeType> method Null safety

Pointer<T> lookup<T extends NativeType>(
  1. String symbolName
)

Looks up a symbol in the DynamicLibrary and returns its address in memory.

Similar to the functionality of the dlsym(3) system call.

The symbol must be provided by the dynamic library.

Implementation

external Pointer<T> lookup<T extends NativeType>(String symbolName);