DynamicLibrary class
Represents a dynamically loaded C library.
Constructors
- DynamicLibrary.executable()
-
Creates a dynamic library representing the running executable.
factory
- DynamicLibrary.open(String name)
-
Loads a dynamic library file with local visibility. [...]
factory
- DynamicLibrary.process()
-
Creates a dynamic library holding all global symbols. [...]
factory
Properties
Methods
-
lookup<
T extends NativeType> (String symbolName) → Pointer< T> - Looks up a symbol in the DynamicLibrary and returns its address in memory. Equivalent of dlsym. [...]
-
lookupFunction<
T extends Function, F extends Function> (String symbolName) → F - Helper that combines lookup and cast to a Dart function.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
dynamic other) → bool -
Dynamic libraries are equal if they load the same library.
override