All Downloads are FREE. Search and download functionalities are using the official Maven repository.

astffi.llvm.0.1.2.source-code.jni_com_alibaba_fastffi_clang_TemplateDeclInstantiator_cxx_0x8a151b53.cc Maven / Gradle / Ivy

The newest version!
#include 
#include 
#include "clang/Sema/Template.h"

#ifdef __cplusplus
extern "C" {
#endif

// Common Stubs

JNIEXPORT
jint JNICALL Java_com_alibaba_fastffi_clang_TemplateDeclInstantiator_1cxx_10x8a151b53__1elementSize_00024_00024_00024(JNIEnv*, jclass) {
    return (jint)sizeof(clang::TemplateDeclInstantiator);
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_TemplateDeclInstantiator_1cxx_10x8a151b53_native_1InstantiateClassTemplatePartialSpecialization(JNIEnv*, jclass, jlong ptr, jlong arg0 /* ClassTemplate0 */, jlong arg1 /* PartialSpec1 */) {
	return reinterpret_cast(reinterpret_cast(ptr)->InstantiateClassTemplatePartialSpecialization(reinterpret_cast(arg0), reinterpret_cast(arg1)));
}

JNIEXPORT
void JNICALL Java_com_alibaba_fastffi_clang_TemplateDeclInstantiator_1cxx_10x8a151b53_native_1InstantiateEnumDefinition(JNIEnv*, jclass, jlong ptr, jlong arg0 /* Enum0 */, jlong arg1 /* Pattern1 */) {
	reinterpret_cast(ptr)->InstantiateEnumDefinition(reinterpret_cast(arg0), reinterpret_cast(arg1));
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_TemplateDeclInstantiator_1cxx_10x8a151b53_native_1InstantiateTypedefNameDecl(JNIEnv*, jclass, jlong ptr, jlong arg0 /* D0 */, jboolean arg1 /* IsTypeAlias1 */) {
	return reinterpret_cast(reinterpret_cast(ptr)->InstantiateTypedefNameDecl(reinterpret_cast(arg0), (arg1 == JNI_TRUE ? true : false)));
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_TemplateDeclInstantiator_1cxx_10x8a151b53_native_1InstantiateVarTemplatePartialSpecialization(JNIEnv*, jclass, jlong ptr, jlong arg0 /* VarTemplate0 */, jlong arg1 /* PartialSpec1 */) {
	return reinterpret_cast(reinterpret_cast(ptr)->InstantiateVarTemplatePartialSpecialization(reinterpret_cast(arg0), reinterpret_cast(arg1)));
}

JNIEXPORT
void JNICALL Java_com_alibaba_fastffi_clang_TemplateDeclInstantiator_1cxx_10x8a151b53_nativeDelete(JNIEnv*, jclass, jlong ptr) {
	delete reinterpret_cast(ptr);
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_TemplateDeclInstantiator_1cxx_10x8a151b53_nativeCreateFactory0(JNIEnv*, jclass, jlong arg0 /* SemaRef0 */, jlong arg1 /* Owner1 */, jlong arg2 /* multiLevelTemplateArguments2 */) {
	return reinterpret_cast(new clang::TemplateDeclInstantiator(*reinterpret_cast(arg0), reinterpret_cast(arg1), *reinterpret_cast(arg2)));
}

#ifdef __cplusplus
}
#endif




© 2015 - 2024 Weber Informatics LLC | Privacy Policy