Fix tdapi path
This commit is contained in:
parent
3a2a8b2a44
commit
cd7717aeb6
@ -149,9 +149,9 @@ static jint register_native(JavaVM *vm) {
|
||||
#undef TD_FUNCTION
|
||||
#undef TD_OBJECT
|
||||
|
||||
td::jni::init_vars(env, PACKAGE_NAME);
|
||||
td::td_api::Object::init_jni_vars(env, PACKAGE_NAME);
|
||||
td::td_api::Function::init_jni_vars(env, PACKAGE_NAME);
|
||||
td::jni::init_vars(env, API_PACKAGE_NAME);
|
||||
td::td_api::Object::init_jni_vars(env, API_PACKAGE_NAME);
|
||||
td::td_api::Function::init_jni_vars(env, API_PACKAGE_NAME);
|
||||
td::Log::set_fatal_error_callback(on_fatal_error);
|
||||
|
||||
return JAVA_VERSION;
|
||||
|
@ -149,9 +149,9 @@ static jint register_native(JavaVM *vm) {
|
||||
#undef TD_FUNCTION
|
||||
#undef TD_OBJECT
|
||||
|
||||
td::jni::init_vars(env, PACKAGE_NAME);
|
||||
td::td_api::Object::init_jni_vars(env, PACKAGE_NAME);
|
||||
td::td_api::Function::init_jni_vars(env, PACKAGE_NAME);
|
||||
td::jni::init_vars(env, API_PACKAGE_NAME);
|
||||
td::td_api::Object::init_jni_vars(env, API_PACKAGE_NAME);
|
||||
td::td_api::Function::init_jni_vars(env, API_PACKAGE_NAME);
|
||||
td::Log::set_fatal_error_callback(on_fatal_error);
|
||||
|
||||
return JAVA_VERSION;
|
||||
|
Loading…
Reference in New Issue
Block a user