Loading...
Searching...
No Matches
constructor.hpp
Go to the documentation of this file.
#pragma once
#include <jni/method.hpp>
namespace jni
{
template < class TagType, class... Args >
class Constructor : public Method<TagType, void (Args...)>
{
public:
Constructor(JNIEnv& env, const Class<TagType>& clazz)
: Method<TagType, void (Args...)>(env, clazz, "<init>")
{}
};
}
jni::Class
Definition class.hpp:18
jni::Constructor::Constructor
Constructor(JNIEnv &env, const Class< TagType > &clazz)
Definition constructor.hpp:11
jni::Method
Definition class.hpp:13
method.hpp
jni
Definition advanced_ownership.hpp:6