2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-11-29 05:20:23 +01:00

setenv: fix attributes

This commit is contained in:
Alibek Omarov (a1batross) 2017-03-02 23:00:56 +03:00
parent 770c72d0c5
commit 2e2fca08a3

View File

@ -16,7 +16,7 @@ GNU General Public License for more details.
#include <jni.h>
#include <stdlib.h>
JAVA_EXPORT int Java_in_celest_xash3d_XashActivity_setenv( JNIEnv* env, jclass clazz, jstring key, jstring value, jboolean overwrite )
JNIEXPORT int JNICALL Java_in_celest_xash3d_XashActivity_setenv( JNIEnv* env, jclass clazz, jstring key, jstring value, jboolean overwrite )
{
char* k = (char *) (*env)->GetStringUTFChars(env, key, NULL);
char* v = (char *) (*env)->GetStringUTFChars(env, value, NULL);