Move variables to platform_android.c

This commit is contained in:
twinaphex 2015-05-02 00:25:55 +02:00
parent e16e55cb9b
commit 2161b03cf0
2 changed files with 3 additions and 3 deletions

View File

@ -17,9 +17,6 @@
#include "platform_android.h"
struct android_app *g_android;
struct android_app_userdata *g_android_userdata;
static void free_saved_state(struct android_app* android_app)
{
pthread_mutex_lock(&android_app->mutex);

View File

@ -29,6 +29,9 @@
static pthread_key_t thread_key;
struct android_app *g_android;
struct android_app_userdata *g_android_userdata;
JNIEnv *jni_thread_getenv(void)
{
JNIEnv *env;