зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1252650 - Update generated JNI bindings; r=me
This commit is contained in:
Родитель
dc18692d89
Коммит
66f54a0378
|
@ -197,6 +197,10 @@ class GeckoThread::Natives : public mozilla::jni::NativeImpl<GeckoThread, Impl>
|
|||
public:
|
||||
static constexpr JNINativeMethod methods[] = {
|
||||
|
||||
mozilla::jni::MakeNativeMethod<GeckoThread::CreateServices_t>(
|
||||
mozilla::jni::NativeStub<GeckoThread::CreateServices_t, Impl>
|
||||
::template Wrap<&Impl::CreateServices>),
|
||||
|
||||
mozilla::jni::MakeNativeMethod<GeckoThread::OnPause_t>(
|
||||
mozilla::jni::NativeStub<GeckoThread::OnPause_t, Impl>
|
||||
::template Wrap<&Impl::OnPause>),
|
||||
|
|
|
@ -937,6 +937,9 @@ auto GeckoThread::CheckAndSetState(mozilla::jni::Object::Param a0, mozilla::jni:
|
|||
return mozilla::jni::Method<CheckAndSetState_t>::Call(GeckoThread::Context(), nullptr, a0, a1);
|
||||
}
|
||||
|
||||
constexpr char GeckoThread::CreateServices_t::name[];
|
||||
constexpr char GeckoThread::CreateServices_t::signature[];
|
||||
|
||||
constexpr char GeckoThread::OnPause_t::name[];
|
||||
constexpr char GeckoThread::OnPause_t::signature[];
|
||||
|
||||
|
|
|
@ -2219,6 +2219,20 @@ public:
|
|||
|
||||
static auto CheckAndSetState(mozilla::jni::Object::Param, mozilla::jni::Object::Param) -> bool;
|
||||
|
||||
struct CreateServices_t {
|
||||
typedef GeckoThread Owner;
|
||||
typedef void ReturnType;
|
||||
typedef void SetterType;
|
||||
typedef mozilla::jni::Args<
|
||||
mozilla::jni::String::Param> Args;
|
||||
static constexpr char name[] = "nativeCreateServices";
|
||||
static constexpr char signature[] =
|
||||
"(Ljava/lang/String;)V";
|
||||
static const bool isStatic = true;
|
||||
static const mozilla::jni::ExceptionMode exceptionMode =
|
||||
mozilla::jni::ExceptionMode::ABORT;
|
||||
};
|
||||
|
||||
struct OnPause_t {
|
||||
typedef GeckoThread Owner;
|
||||
typedef void ReturnType;
|
||||
|
|
Загрузка…
Ссылка в новой задаче