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_TemplateName_cxx_0x204cd096.cc Maven / Gradle / Ivy

The newest version!
#include 
#include 
#include "clang/AST/TemplateName.h"
#include "llvm/Support/raw_ostream.h"

#ifdef __cplusplus
extern "C" {
#endif

// Common Stubs

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

JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_TemplateName_1cxx_10x204cd096_nativeContainsUnexpandedParameterPack(JNIEnv*, jclass, jlong ptr) {
	return (reinterpret_cast(ptr)->containsUnexpandedParameterPack()) ? JNI_TRUE : JNI_FALSE;
}

JNIEXPORT
void JNICALL Java_com_alibaba_fastffi_clang_TemplateName_1cxx_10x204cd096_nativeDump0(JNIEnv*, jclass, jlong ptr, jlong arg0 /* Out0 */) {
	reinterpret_cast(ptr)->dump(*reinterpret_cast(arg0));
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_TemplateName_1cxx_10x204cd096_nativeGetAsTemplateDecl(JNIEnv*, jclass, jlong ptr) {
	return reinterpret_cast(reinterpret_cast(ptr)->getAsTemplateDecl());
}

JNIEXPORT
jint JNICALL Java_com_alibaba_fastffi_clang_TemplateName_1cxx_10x204cd096_nativeGetKind(JNIEnv*, jclass, jlong ptr) {
	return (jint)(reinterpret_cast(ptr)->getKind());
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_TemplateName_1cxx_10x204cd096_nativeGetNameToSubstitute(JNIEnv*, jclass, jlong ptr, jlong rv_base) {
	return reinterpret_cast(new((void*)rv_base) clang::TemplateName(reinterpret_cast(ptr)->getNameToSubstitute()));
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_TemplateName_1cxx_10x204cd096_nativeGetUnderlying(JNIEnv*, jclass, jlong ptr, jlong rv_base) {
	return reinterpret_cast(new((void*)rv_base) clang::TemplateName(reinterpret_cast(ptr)->getUnderlying()));
}

JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_TemplateName_1cxx_10x204cd096_nativeIsDependent(JNIEnv*, jclass, jlong ptr) {
	return (reinterpret_cast(ptr)->isDependent()) ? JNI_TRUE : JNI_FALSE;
}

JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_TemplateName_1cxx_10x204cd096_nativeIsInstantiationDependent(JNIEnv*, jclass, jlong ptr) {
	return (reinterpret_cast(ptr)->isInstantiationDependent()) ? JNI_TRUE : JNI_FALSE;
}

JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_TemplateName_1cxx_10x204cd096_nativeIsNull(JNIEnv*, jclass, jlong ptr) {
	return (reinterpret_cast(ptr)->isNull()) ? JNI_TRUE : JNI_FALSE;
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_TemplateName_1cxx_10x204cd096_nativeCreateFactory0(JNIEnv*, jclass, jlong arg0 /* Template0 */) {
	return reinterpret_cast(new clang::TemplateName(reinterpret_cast(arg0)));
}

#ifdef __cplusplus
}
#endif




© 2015 - 2024 Weber Informatics LLC | Privacy Policy