SRSDK  0.10.39
Loading...
Searching...
No Matches
jniTypes.h
Go to the documentation of this file.
1#pragma once
2
4
5#include <stdint.h>
6
7#if defined(LEIA_OS_ANDROID)
8# include <jni.h>
9#else
10
11# if defined(__cplusplus)
12class _jobject {};
13typedef _jobject* jobject;
14# else // !__cplusplus
15typedef void* jobject;
16# endif // __cplusplus
17
18typedef int32_t jint;
19
20struct _JNIEnv;
21struct _JavaVM;
22typedef const struct JNINativeInterface* C_JNIEnv;
23
24# if defined(__cplusplus)
25typedef _JNIEnv JNIEnv;
26typedef _JavaVM JavaVM;
27# else // !__cplusplus
28typedef const struct JNINativeInterface* JNIEnv;
29typedef const struct JNIInvokeInterface* JavaVM;
30# endif // __cplusplus
31
32#endif // LEIA_OS_ANDROID
void * jobject
Definition jniTypes.h:15
int32_t jint
Definition jniTypes.h:18
const struct JNINativeInterface * C_JNIEnv
Definition jniTypes.h:22
const struct JNIInvokeInterface * JavaVM
Definition jniTypes.h:29
const struct JNINativeInterface * JNIEnv
Definition jniTypes.h:28