MCPcopy Create free account
hub / github.com/ClassiCube/ClassiCube / Clipboard_SetText

Function Clipboard_SetText

src/android/Window_Android.c:311–319  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

309}
310
311void Clipboard_SetText(const cc_string* value) {
312 JNIEnv* env;
313 jvalue args[1];
314 Java_GetCurrentEnv(env);
315
316 args[0].l = Java_AllocString(env, value);
317 Java_ICall_Void(env, JAVA_setClipboardText, args);
318 Java_DeleteLocalRef(env, args[0].l);
319}
320
321int Window_GetWindowState(void) {
322 JNIEnv* env;

Callers

nothing calls this directly

Calls 1

Java_AllocStringFunction · 0.85

Tested by

no test coverage detected