Source code

Generated file

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 mozilla_java_JniCommonJniWrappers_h
#define mozilla_java_JniCommonJniWrappers_h
#ifndef MOZ_PREPROCESSOR
#include "mozilla/jni/Refs.h"
#endif
namespace mozilla {
namespace java {
class JniCommonJni : public mozilla::jni::ObjectBase<JniCommonJni>
{
public:
static constexpr char name[] =
"org/webrtc/JniCommonJni";
explicit JniCommonJni(const Context& ctx) : ObjectBase<JniCommonJni>(ctx) {}
// Suggested header signature for native method:
// static void AddRef(int64_t);
struct AddRef_t {
typedef JniCommonJni Owner;
typedef void ReturnType;
typedef void SetterType;
typedef mozilla::jni::Args<
int64_t> Args;
static constexpr char name[] = "nativeAddRef";
static constexpr char signature[] =
"(J)V";
static const bool isStatic = true;
static const mozilla::jni::ExceptionMode exceptionMode =
mozilla::jni::ExceptionMode::ABORT;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
// Suggested header signature for native method:
// static mozilla::jni::ByteBuffer::LocalRef AllocateByteBuffer(int32_t);
struct AllocateByteBuffer_t {
typedef JniCommonJni Owner;
typedef mozilla::jni::ByteBuffer::LocalRef ReturnType;
typedef mozilla::jni::ByteBuffer::Param SetterType;
typedef mozilla::jni::Args<
int32_t> Args;
static constexpr char name[] = "nativeAllocateByteBuffer";
static constexpr char signature[] =
"(I)Ljava/nio/ByteBuffer;";
static const bool isStatic = true;
static const mozilla::jni::ExceptionMode exceptionMode =
mozilla::jni::ExceptionMode::ABORT;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
// Suggested header signature for native method:
// static void FreeByteBuffer(mozilla::jni::ByteBuffer::Param);
struct FreeByteBuffer_t {
typedef JniCommonJni Owner;
typedef void ReturnType;
typedef void SetterType;
typedef mozilla::jni::Args<
mozilla::jni::ByteBuffer::Param> Args;
static constexpr char name[] = "nativeFreeByteBuffer";
static constexpr char signature[] =
"(Ljava/nio/ByteBuffer;)V";
static const bool isStatic = true;
static const mozilla::jni::ExceptionMode exceptionMode =
mozilla::jni::ExceptionMode::ABORT;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
// Suggested header signature for native method:
// static void ReleaseRef(int64_t);
struct ReleaseRef_t {
typedef JniCommonJni Owner;
typedef void ReturnType;
typedef void SetterType;
typedef mozilla::jni::Args<
int64_t> Args;
static constexpr char name[] = "nativeReleaseRef";
static constexpr char signature[] =
"(J)V";
static const bool isStatic = true;
static const mozilla::jni::ExceptionMode exceptionMode =
mozilla::jni::ExceptionMode::ABORT;
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
static const mozilla::jni::DispatchTarget dispatchTarget =
mozilla::jni::DispatchTarget::CURRENT;
};
static const mozilla::jni::CallingThread callingThread =
mozilla::jni::CallingThread::ANY;
template<class Impl> class Natives;
};
} /* java */
} /* mozilla */
#endif // mozilla_java_JniCommonJniWrappers_h