Table containing all native methods registered with the VM.
More...
Table containing all native methods registered with the VM.
Definition at line 132 of file native.hpp.
Try to find the given method in the native methods registered with the VM.
- Parameters
-
- Returns
- Pointer to function if found, NULL otherwise.
Definition at line 380 of file native.cpp.
void NativeMethods::register_methods |
( |
Utf8String |
classname, |
|
|
const JNINativeMethod * |
methods, |
|
|
size_t |
count |
|
) |
| |
Register native methods with the VM.
This is done by inserting them into the native method table.
- Parameters
-
classname | |
methods | Native methods array. |
count | Number of methods in the array. |
Definition at line 242 of file native.cpp.
Resolves a native method, maybe from a dynamic library.
- Parameters
-
m | Method structure of the native Java method to resolve. |
- Returns
- Pointer to the resolved method (symbol).
Definition at line 271 of file native.cpp.
Mutex NativeMethods::_mutex |
|
private |
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