description

# 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.

Similar to the functionality of the dlsym(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);