Rename callFunction to jniCallFunction

Reviewed By: mhorowitz

Differential Revision: D4550996

fbshipit-source-id: bcae58fa83c41aa649466e8cc2ebc2e4aa1b7436
This commit is contained in:
Pieter De Baets
2017-02-15 03:25:36 -08:00
committed by Facebook Github Bot
parent 222856ea3a
commit a965f153ff
3 changed files with 11 additions and 11 deletions

View File

@@ -233,7 +233,7 @@ public class CatalystInstanceImpl implements CatalystInstance {
mAcceptCalls = true;
for (PendingJSCall call : mJSCallsPendingInit) {
callJSFunction(call.mExecutorToken, call.mModule, call.mMethod, call.mArguments);
jniCallJSFunction(call.mExecutorToken, call.mModule, call.mMethod, call.mArguments);
}
mJSCallsPendingInit.clear();
}
@@ -248,7 +248,7 @@ public class CatalystInstanceImpl implements CatalystInstance {
return mSourceURL;
}
private native void callJSFunction(
private native void jniCallJSFunction(
ExecutorToken token,
String module,
String method,
@@ -274,10 +274,10 @@ public class CatalystInstanceImpl implements CatalystInstance {
}
}
callJSFunction(executorToken, module, method, arguments);
jniCallJSFunction(executorToken, module, method, arguments);
}
private native void callJSCallback(ExecutorToken executorToken, int callbackID, NativeArray arguments);
private native void jniCallJSCallback(ExecutorToken executorToken, int callbackID, NativeArray arguments);
@Override
public void invokeCallback(ExecutorToken executorToken, final int callbackID, final NativeArray arguments) {
@@ -286,7 +286,7 @@ public class CatalystInstanceImpl implements CatalystInstance {
return;
}
callJSCallback(executorToken, callbackID, arguments);
jniCallJSCallback(executorToken, callbackID, arguments);
}
/**