Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifdef __cplusplus
- extern "C" {
- #endif
- /*
- * VM initialization functions.
- *
- * Note these are the only symbols exported for JNI by the VM.
- */
- #if 0 /* In practice, these are not exported by the NDK so don't declare them */
- jint JNI_GetDefaultJavaVMInitArgs(void*);
- jint JNI_CreateJavaVM(JavaVM**, JNIEnv**, void*);
- jint JNI_GetCreatedJavaVMs(JavaVM**, jsize, jsize*);
- #endif
- #define JNIIMPORT
- #define JNIEXPORT __attribute__ ((visibility ("default")))
- #define JNICALL
- /*
- * Prototypes for functions exported by loadable shared libs. These are
- * called by JNI, not provided by JNI.
- */
- JNIEXPORT jint JNI_OnLoad(JavaVM* vm, void* reserved);
- JNIEXPORT void JNI_OnUnload(JavaVM* vm, void* reserved);
- #ifdef __cplusplus
- }
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement