Revert commit

This commit is contained in:
Andrea Cavalli 2021-10-22 19:52:47 +02:00
parent c6e7ae3bd5
commit faa3c6fad4

View File

@ -2,18 +2,17 @@ package it.tdlight.tdnative;
import it.tdlight.jni.TdApi;
@SuppressWarnings("rawtypes")
public class NativeClient {
protected static native int createNativeClient();
protected static native <R extends TdApi.Object> void nativeClientSend(int nativeClientId,
long eventId,
TdApi.Function<R> function);
protected static native void nativeClientSend(int nativeClientId, long eventId, TdApi.Function function);
protected static native int nativeClientReceive(int[] clientIds,
long[] eventIds,
TdApi.Object[] events,
double timeout);
protected static native <R extends TdApi.Object> TdApi.Object nativeClientExecute(TdApi.Function<R> function);
protected static native TdApi.Object nativeClientExecute(TdApi.Function function);
}