fixed android example project

This commit is contained in:
Joseph Henry
2016-06-24 12:10:47 -07:00
parent b545aed175
commit b9a2427825
6 changed files with 29 additions and 6 deletions

View File

@@ -40,6 +40,9 @@ extern "C" {
#define INTERCEPT_DISABLED 222
#if defined(__ANDROID__)
// JNI naming convention: Java_PACKAGENAME_CLASSNAME_METHODNAME
/* If you define anything else in this file it *must* follow that convention
and any corresponding Java package/classes in your Android project must match this as well */
JNIEXPORT void JNICALL Java_ZeroTier_SDK_startOneService(JNIEnv *env, jobject thisObj);
#else
void *startOneService(void *thread_id);