lookup<T extends NativeType> method

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);

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-ffi/DynamicLibrary/lookup.html