|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Retention(value=RUNTIME) @Target(value=TYPE) public @interface NativeBridge
Methods of a class that implements this interface are treated specially by the compilers: -They are only called from C or C++ program -The compiler will generate the necessary prolog to insert a glue stack frame to map from the native stack/register convention to RVM's convention -It is an error to call these methods from Java
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||