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/GeckoSurfaceWrappers.h"
#include "mozilla/jni/Accessors.h"
#endif
namespace mozilla {
namespace java {
const char GeckoSurface::name[] =
"org/mozilla/gecko/gfx/GeckoSurface";
constexpr char GeckoSurface::New_t::name[];
constexpr char GeckoSurface::New_t::signature[];
auto GeckoSurface::New(mozilla::jni::Object::Param a0, GeckoSurface::LocalRef* a1) -> nsresult
{
MOZ_ASSERT(a1);
nsresult rv = NS_OK;
*a1 = mozilla::jni::Constructor<New_t>::Call(GeckoSurface::Context(), &rv, a0);
return rv;
}
constexpr char GeckoSurface::GetAvailable_t::name[];
constexpr char GeckoSurface::GetAvailable_t::signature[];
auto GeckoSurface::GetAvailable() const -> bool
{
return mozilla::jni::Method<GetAvailable_t>::Call(GeckoSurface::mCtx, nullptr);
}
constexpr char GeckoSurface::GetHandle_t::name[];
constexpr char GeckoSurface::GetHandle_t::signature[];
auto GeckoSurface::GetHandle() const -> int32_t
{
return mozilla::jni::Method<GetHandle_t>::Call(GeckoSurface::mCtx, nullptr);
}
constexpr char GeckoSurface::SetAvailable_t::name[];
constexpr char GeckoSurface::SetAvailable_t::signature[];
auto GeckoSurface::SetAvailable(bool a0) const -> void
{
return mozilla::jni::Method<SetAvailable_t>::Call(GeckoSurface::mCtx, nullptr, a0);
}
} /* java */
} /* mozilla */