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/GeckoViewInputStreamWrappers.h"
#include "mozilla/jni/Accessors.h"
#endif
namespace mozilla {
namespace java {
constexpr char GeckoViewInputStream::name[];
constexpr char GeckoViewInputStream::New_t::name[];
constexpr char GeckoViewInputStream::New_t::signature[];
auto GeckoViewInputStream::New() -> GeckoViewInputStream::LocalRef
{
return mozilla::jni::Constructor<New_t>::Call(GeckoViewInputStream::Context(), nullptr);
}
constexpr char GeckoViewInputStream::Available_t::name[];
constexpr char GeckoViewInputStream::Available_t::signature[];
auto GeckoViewInputStream::Available() const -> int32_t
{
return mozilla::jni::Method<Available_t>::Call(GeckoViewInputStream::mCtx, nullptr);
}
constexpr char GeckoViewInputStream::CheckHeaders_t::name[];
constexpr char GeckoViewInputStream::CheckHeaders_t::signature[];
auto GeckoViewInputStream::CheckHeaders(mozilla::jni::ObjectArray::Param a0) const -> bool
{
return mozilla::jni::Method<CheckHeaders_t>::Call(GeckoViewInputStream::mCtx, nullptr, a0);
}
constexpr char GeckoViewInputStream::Close_t::name[];
constexpr char GeckoViewInputStream::Close_t::signature[];
auto GeckoViewInputStream::Close() const -> void
{
return mozilla::jni::Method<Close_t>::Call(GeckoViewInputStream::mCtx, nullptr);
}
constexpr char GeckoViewInputStream::ConsumedData_t::name[];
constexpr char GeckoViewInputStream::ConsumedData_t::signature[];
auto GeckoViewInputStream::ConsumedData(int32_t a0) const -> int64_t
{
return mozilla::jni::Method<ConsumedData_t>::Call(GeckoViewInputStream::mCtx, nullptr, a0);
}
constexpr char GeckoViewInputStream::IsClosed_t::name[];
constexpr char GeckoViewInputStream::IsClosed_t::signature[];
auto GeckoViewInputStream::IsClosed() const -> bool
{
return mozilla::jni::Method<IsClosed_t>::Call(GeckoViewInputStream::mCtx, nullptr);
}
constexpr char GeckoViewInputStream::Read_t::name[];
constexpr char GeckoViewInputStream::Read_t::signature[];
auto GeckoViewInputStream::Read(int64_t a0, int32_t* a1) const -> nsresult
{
MOZ_ASSERT(a1);
nsresult rv = NS_OK;
*a1 = mozilla::jni::Method<Read_t>::Call(GeckoViewInputStream::mCtx, &rv, a0);
return rv;
}
constexpr char GeckoViewInputStream::SetInputStream_t::name[];
constexpr char GeckoViewInputStream::SetInputStream_t::signature[];
auto GeckoViewInputStream::SetInputStream(mozilla::jni::Object::Param a0) const -> void
{
return mozilla::jni::Method<SetInputStream_t>::Call(GeckoViewInputStream::mCtx, nullptr, a0);
}
const char16_t GeckoViewInputStream::LOGTAG[] = u"GeckoViewInputStream";
constexpr char GeckoViewInputStream::MBuffer_t::name[];
constexpr char GeckoViewInputStream::MBuffer_t::signature[];
auto GeckoViewInputStream::MBuffer() const -> mozilla::jni::ByteBuffer::LocalRef
{
return mozilla::jni::Field<MBuffer_t>::Get(GeckoViewInputStream::mCtx, nullptr);
}
constexpr char GeckoViewInputStream::MChannel_t::name[];
constexpr char GeckoViewInputStream::MChannel_t::signature[];
auto GeckoViewInputStream::MChannel() const -> mozilla::jni::Object::LocalRef
{
return mozilla::jni::Field<MChannel_t>::Get(GeckoViewInputStream::mCtx, nullptr);
}
auto GeckoViewInputStream::MChannel(mozilla::jni::Object::Param a0) const -> void
{
return mozilla::jni::Field<MChannel_t>::Set(GeckoViewInputStream::mCtx, nullptr, a0);
}
constexpr char GeckoViewInputStream::MIs_t::name[];
constexpr char GeckoViewInputStream::MIs_t::signature[];
auto GeckoViewInputStream::MIs() const -> mozilla::jni::Object::LocalRef
{
return mozilla::jni::Field<MIs_t>::Get(GeckoViewInputStream::mCtx, nullptr);
}
auto GeckoViewInputStream::MIs(mozilla::jni::Object::Param a0) const -> void
{
return mozilla::jni::Field<MIs_t>::Set(GeckoViewInputStream::mCtx, nullptr, a0);
}
constexpr char GeckoViewInputStream::MMustGetData_t::name[];
constexpr char GeckoViewInputStream::MMustGetData_t::signature[];
auto GeckoViewInputStream::MMustGetData() const -> bool
{
return mozilla::jni::Field<MMustGetData_t>::Get(GeckoViewInputStream::mCtx, nullptr);
}
auto GeckoViewInputStream::MMustGetData(bool a0) const -> void
{
return mozilla::jni::Field<MMustGetData_t>::Set(GeckoViewInputStream::mCtx, nullptr, a0);
}
constexpr char GeckoViewInputStream::MPos_t::name[];
constexpr char GeckoViewInputStream::MPos_t::signature[];
auto GeckoViewInputStream::MPos() const -> int32_t
{
return mozilla::jni::Field<MPos_t>::Get(GeckoViewInputStream::mCtx, nullptr);
}
auto GeckoViewInputStream::MPos(int32_t a0) const -> void
{
return mozilla::jni::Field<MPos_t>::Set(GeckoViewInputStream::mCtx, nullptr, a0);
}
constexpr char GeckoViewInputStream::MSize_t::name[];
constexpr char GeckoViewInputStream::MSize_t::signature[];
auto GeckoViewInputStream::MSize() const -> int32_t
{
return mozilla::jni::Field<MSize_t>::Get(GeckoViewInputStream::mCtx, nullptr);
}
auto GeckoViewInputStream::MSize(int32_t a0) const -> void
{
return mozilla::jni::Field<MSize_t>::Set(GeckoViewInputStream::mCtx, nullptr, a0);
}
} /* java */
} /* mozilla */