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:
parent
770c72d0c5
commit
2e2fca08a3
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user