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. Equivalent of dlsym.

Throws an ArgumentError if it fails to lookup the symbol.

Implementation

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