2020-10-21 13:53:46 +08:00
|
|
|
/* DO NOT EDIT THIS FILE - it is machine generated */
|
|
|
|
|
#include <jni.h>
|
|
|
|
|
/* Header for class org_restrpc_client_NativeRpcClient */
|
|
|
|
|
|
|
|
|
|
#ifndef _Included_org_restrpc_client_NativeRpcClient
|
|
|
|
|
#define _Included_org_restrpc_client_NativeRpcClient
|
2020-10-21 20:24:52 +08:00
|
|
|
|
|
|
|
|
extern JavaVM *jvm;
|
|
|
|
|
|
2020-10-21 13:53:46 +08:00
|
|
|
#ifdef __cplusplus
|
|
|
|
|
extern "C" {
|
|
|
|
|
#endif
|
|
|
|
|
/*
|
|
|
|
|
* Class: org_restrpc_client_NativeRpcClient
|
|
|
|
|
* Method: nativeNewRpcClient
|
|
|
|
|
* Signature: ()J
|
|
|
|
|
*/
|
|
|
|
|
JNIEXPORT jlong JNICALL Java_org_restrpc_client_NativeRpcClient_nativeNewRpcClient
|
|
|
|
|
(JNIEnv *, jobject);
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Class: org_restrpc_client_NativeRpcClient
|
|
|
|
|
* Method: nativeConnect
|
|
|
|
|
* Signature: (JLjava/lang/String;)V
|
|
|
|
|
*/
|
|
|
|
|
JNIEXPORT void JNICALL Java_org_restrpc_client_NativeRpcClient_nativeConnect
|
|
|
|
|
(JNIEnv *, jobject, jlong, jstring);
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Class: org_restrpc_client_NativeRpcClient
|
|
|
|
|
* Method: nativeInvoke
|
2020-10-21 16:11:50 +08:00
|
|
|
* Signature: (J[B)J
|
2020-10-21 13:53:46 +08:00
|
|
|
*/
|
|
|
|
|
JNIEXPORT jlong JNICALL Java_org_restrpc_client_NativeRpcClient_nativeInvoke
|
2020-10-21 16:11:50 +08:00
|
|
|
(JNIEnv *, jobject, jlong, jbyteArray);
|
2020-10-21 13:53:46 +08:00
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Class: org_restrpc_client_NativeRpcClient
|
|
|
|
|
* Method: nativeDestroy
|
|
|
|
|
* Signature: (J)V
|
|
|
|
|
*/
|
|
|
|
|
JNIEXPORT void JNICALL Java_org_restrpc_client_NativeRpcClient_nativeDestroy
|
|
|
|
|
(JNIEnv *, jobject, jlong);
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
#endif
|