Copy as Markdown

Other Tools

// GENERATED CODE
// Generated by the Java program at /build/annotationProcessors at compile time
// from annotations on Java methods. To update, change the annotations on the
// corresponding Java methods and rerun the build. Manually updating this file
// will cause your build to fail.
#ifndef MOZ_PREPROCESSOR
#include "mozilla/java/GeckoResultWrappers.h"
#include "mozilla/jni/Accessors.h"
#endif
namespace mozilla {
namespace java {
constexpr char GeckoResult::name[];
constexpr char GeckoResult::New_t::name[];
constexpr char GeckoResult::New_t::signature[];
auto GeckoResult::New() -> GeckoResult::LocalRef
{
return mozilla::jni::Constructor<New_t>::Call(GeckoResult::Context(), nullptr);
}
constexpr char GeckoResult::Complete_t::name[];
constexpr char GeckoResult::Complete_t::signature[];
auto GeckoResult::Complete(mozilla::jni::Object::Param a0) const -> void
{
return mozilla::jni::Method<Complete_t>::Call(GeckoResult::mCtx, nullptr, a0);
}
constexpr char GeckoResult::CompleteExceptionally_t::name[];
constexpr char GeckoResult::CompleteExceptionally_t::signature[];
auto GeckoResult::CompleteExceptionally(mozilla::jni::Throwable::Param a0) const -> void
{
return mozilla::jni::Method<CompleteExceptionally_t>::Call(GeckoResult::mCtx, nullptr, a0);
}
constexpr char GeckoResult::FromException_t::name[];
constexpr char GeckoResult::FromException_t::signature[];
auto GeckoResult::FromException(mozilla::jni::Throwable::Param a0) -> GeckoResult::LocalRef
{
return mozilla::jni::Method<FromException_t>::Call(GeckoResult::Context(), nullptr, a0);
}
constexpr char GeckoResult::FromValue_t::name[];
constexpr char GeckoResult::FromValue_t::signature[];
auto GeckoResult::FromValue(mozilla::jni::Object::Param a0) -> GeckoResult::LocalRef
{
return mozilla::jni::Method<FromValue_t>::Call(GeckoResult::Context(), nullptr, a0);
}
constexpr char GeckoResult::NativeThen_t::name[];
constexpr char GeckoResult::NativeThen_t::signature[];
auto GeckoResult::NativeThen(mozilla::jni::Object::Param a0, mozilla::jni::Object::Param a1) const -> void
{
return mozilla::jni::Method<NativeThen_t>::Call(GeckoResult::mCtx, nullptr, a0, a1);
}
constexpr char GeckoResult::GeckoCallback::name[];
constexpr char GeckoResult::GeckoCallback::New_t::name[];
constexpr char GeckoResult::GeckoCallback::New_t::signature[];
auto GeckoResult::GeckoCallback::New() -> GeckoCallback::LocalRef
{
return mozilla::jni::Constructor<New_t>::Call(GeckoCallback::Context(), nullptr);
}
constexpr char GeckoResult::GeckoCallback::Call_t::name[];
constexpr char GeckoResult::GeckoCallback::Call_t::signature[];
constexpr char GeckoResult::GeckoCallback::DisposeNative_t::name[];
constexpr char GeckoResult::GeckoCallback::DisposeNative_t::signature[];
} /* java */
} /* mozilla */