mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-01 11:52:47 +00:00
11 lines
196 B
C
11 lines
196 B
C
|
#include <jni.h>
|
||
|
#include <stdio.h>
|
||
|
|
||
|
#include "pr18278.h"
|
||
|
|
||
|
jobject Java_pr18278_weakRef(JNIEnv *env, jclass cls, jobject data)
|
||
|
{
|
||
|
jobject r = (* env)->NewWeakGlobalRef(env, data);
|
||
|
return r;
|
||
|
}
|