Represents a native library.
More...
Represents a native library.
Definition at line 60 of file native.hpp.
NativeLibrary::NativeLibrary |
( |
void * |
handle | ) |
|
|
inline |
void NativeLibrary::close |
( |
| ) |
|
Close this native library.
Definition at line 434 of file native.cpp.
void* NativeLibrary::get_handle |
( |
| ) |
const |
|
inline |
bool NativeLibrary::is_loaded |
( |
| ) |
|
Checks if this native library is loaded.
- Returns
- true if loaded, false otherwise.
Definition at line 530 of file native.cpp.
bool NativeLibrary::load |
( |
JNIEnv * |
env | ) |
|
Load this native library and initialize it, if possible.
- Parameters
-
- Returns
- true if library loaded successfully, false otherwise.
Definition at line 469 of file native.cpp.
void * NativeLibrary::open |
( |
| ) |
|
Open this native library.
- Returns
- File handle on success, NULL otherwise.
Definition at line 398 of file native.cpp.
Resolve the given symbol in this native library.
- Parameters
-
- Returns
- Pointer to symbol if found, NULL otherwise.
Definition at line 545 of file native.cpp.
Defining classloader.
Definition at line 63 of file native.hpp.
Name of the native library.
Definition at line 62 of file native.hpp.
void* NativeLibrary::_handle |
|
private |
Filesystem handle.
Definition at line 64 of file native.hpp.
The documentation for this class was generated from the following files:
- /home/bbc/buildbot/slave/doxygen-compiler2/source/cacao/src/native/native.hpp
- /home/bbc/buildbot/slave/doxygen-compiler2/source/cacao/src/native/native.cpp