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_GeckoJavaSamplerNatives_h
#define mozilla_java_GeckoJavaSamplerNatives_h
#ifndef MOZ_PREPROCESSOR
#include "mozilla/java/GeckoJavaSamplerWrappers.h"
#include "mozilla/jni/Natives.h"
#endif
namespace mozilla {
namespace java {
template<class Impl>
class GeckoJavaSampler::Natives : public mozilla::jni::NativeImpl<GeckoJavaSampler, Impl>
{
public:
static const JNINativeMethod methods[3];
};
template<class Impl>
const JNINativeMethod GeckoJavaSampler::Natives<Impl>::methods[] = {
mozilla::jni::MakeNativeMethod<GeckoJavaSampler::GetProfilerTime_t>(
mozilla::jni::NativeStub<GeckoJavaSampler::GetProfilerTime_t, Impl>
::template Wrap<&Impl::GetProfilerTime>),
mozilla::jni::MakeNativeMethod<GeckoJavaSampler::StartProfiler_t>(
mozilla::jni::NativeStub<GeckoJavaSampler::StartProfiler_t, Impl>
::template Wrap<&Impl::StartProfiler>),
mozilla::jni::MakeNativeMethod<GeckoJavaSampler::StopProfiler_t>(
mozilla::jni::NativeStub<GeckoJavaSampler::StopProfiler_t, Impl>
::template Wrap<&Impl::StopProfiler>)
};
template<class Impl>
class GeckoJavaSampler::Marker::Natives : public mozilla::jni::NativeImpl<Marker, Impl>
{
public:
static const JNINativeMethod methods[1];
};
template<class Impl>
const JNINativeMethod GeckoJavaSampler::Marker::Natives<Impl>::methods[] = {
mozilla::jni::MakeNativeMethod<GeckoJavaSampler::Marker::DisposeNative_t>(
mozilla::jni::NativeStub<GeckoJavaSampler::Marker::DisposeNative_t, Impl>
::template Wrap<&Impl::DisposeNative>)
};
} /* java */
} /* mozilla */
#endif // mozilla_java_GeckoJavaSamplerNatives_h