lookup method - DynamicLibrary class - dart:ffi library (original) (raw)
lookup<T extends NativeType> method
Pointer<T> lookup<T extends NativeType>(
- String symbolName )
Looks up a symbol in the DynamicLibrary and returns its address in memory.
Similar to the functionality of thedlsym(3) system call.
The symbol must be provided by the dynamic library. To check whether the library provides such symbol, use providesSymbol.
Implementation
external Pointer<T> lookup<T extends NativeType>(String symbolName);