#include <native_library.h>
Public Types | |
| using | Handle = void * |
| using | SymbolHandle = void * |
Public Member Functions | |
| template<typename T > | |
| const std::optional< T > | ResolveFunction (const char *symbol) |
| const uint8_t * | ResolveSymbol (const char *symbol) |
Public Member Functions inherited from fml::RefCountedThreadSafe< NativeLibrary > | |
| void | Release () const |
Public Member Functions inherited from fml::internal::RefCountedThreadSafeBase | |
| void | AddRef () const |
| bool | HasOneRef () const |
| void | AssertHasOneRef () const |
Static Public Member Functions | |
| static fml::RefPtr< NativeLibrary > | Create (const char *path) |
| static fml::RefPtr< NativeLibrary > | CreateWithHandle (Handle handle, bool close_handle_when_done) |
| static fml::RefPtr< NativeLibrary > | CreateForCurrentProcess () |
Additional Inherited Members | |
Protected Member Functions inherited from fml::RefCountedThreadSafe< NativeLibrary > | |
| RefCountedThreadSafe () | |
| ~RefCountedThreadSafe () | |
Protected Member Functions inherited from fml::internal::RefCountedThreadSafeBase | |
| RefCountedThreadSafeBase () | |
| ~RefCountedThreadSafeBase () | |
| bool | Release () const |
| void | Adopt () |
Definition at line 20 of file native_library.h.
| using fml::NativeLibrary::Handle = void* |
Definition at line 26 of file native_library.h.
| using fml::NativeLibrary::SymbolHandle = void* |
Definition at line 27 of file native_library.h.
|
static |
Definition at line 43 of file native_library_posix.cc.
References fml::AdoptRef().
Referenced by impeller::android::testing::CreateContext(), flutter::GetSymbolMapping(), impeller::android::ProcTable::ProcTable(), flutter::SearchMapping(), flutter::testing::TestVulkanContext::TestVulkanContext(), and flutter::WindowsProcTable::WindowsProcTable().
|
static |
Definition at line 56 of file native_library_posix.cc.
References fml::AdoptRef().
Referenced by flutter::GetSymbolMapping(), and flutter::SearchMapping().
|
static |
Definition at line 48 of file native_library_posix.cc.
References fml::AdoptRef().
Referenced by flutter::LoadDartDeferredLibrary().
|
inline |
Definition at line 39 of file native_library.h.
Referenced by flutter::WindowsProcTable::WindowsProcTable().
|
inline |
Definition at line 47 of file native_library.h.
References FML_DLOG.
Referenced by vulkan::VulkanProcTable::NativeGetInstanceProcAddr(), and fml::SymbolMapping::SymbolMapping().