remove meanwhile superfluous data2IsString() (#2418)

This commit is contained in:
bjoern
2022-11-10 10:39:33 +01:00
committed by GitHub
parent d6f9b5e283
commit 2450bfc4bf
2 changed files with 0 additions and 12 deletions
-9
View File
@@ -1961,12 +1961,3 @@ JNIEXPORT jstring Java_com_b44t_messenger_DcProvider_getOverviewPage(JNIEnv *env
return ret;
}
/*******************************************************************************
* Tools
******************************************************************************/
JNIEXPORT jboolean Java_com_b44t_messenger_DcContext_data2IsString(JNIEnv *env, jclass cls, jint event)
{
return DC_EVENT_DATA2_IS_STRING(event);
}
-3
View File
@@ -237,9 +237,6 @@ public class DcContext {
*/
public native boolean setLocation (float latitude, float longitude, float accuracy);
// helper to get/return strings from/to handleEvent()
public native static boolean data2IsString(int event);
// working with raw c-data
private long contextCPtr; // CAVE: the name is referenced in the JNI
private native long createContextCPtr(String osName, String dbfile);