Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Rønne Petersen <alexrp@xamarin.com>2014-06-07 19:58:48 +0400
committerAlex Rønne Petersen <alexrp@xamarin.com>2014-06-07 19:58:48 +0400
commit27c58875c2c93fd1cd7ad3cd40e613b0b9e40687 (patch)
treef6f021af5dd77ff17e0cc53b89950b42d4e25822 /ikvm-native/jni.c
parent1ef4b4801407f4915f17907d05b2c6c96b79a526 (diff)
Add missing prototypes in ikvm-native.
Diffstat (limited to 'ikvm-native/jni.c')
-rw-r--r--ikvm-native/jni.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/ikvm-native/jni.c b/ikvm-native/jni.c
index dec858e131f..e638db1d76f 100644
--- a/ikvm-native/jni.c
+++ b/ikvm-native/jni.c
@@ -486,11 +486,15 @@ static void* JNIEnv_vtable[] =
0 // jlong JNICALL GetDirectBufferCapacity(jobject buf);
};
-JNIEXPORT void** JNICALL ikvm_GetJNIEnvVTable()
+void** ikvm_GetJNIEnvVTable(void);
+
+JNIEXPORT void** JNICALL ikvm_GetJNIEnvVTable(void)
{
return JNIEnv_vtable;
}
+void* JNICALL ikvm_MarshalDelegate(void* p);
+
JNIEXPORT void* JNICALL ikvm_MarshalDelegate(void* p)
{
return p;
@@ -498,6 +502,8 @@ JNIEXPORT void* JNICALL ikvm_MarshalDelegate(void* p)
typedef jint (JNICALL *PJNI_ONLOAD)(JavaVM* vm, void* reserved);
+jint JNICALL ikvm_CallOnLoad(PJNI_ONLOAD method, JavaVM* vm, void* reserved);
+
JNIEXPORT jint JNICALL ikvm_CallOnLoad(PJNI_ONLOAD method, JavaVM* vm, void* reserved)
{
return method(vm, reserved);