astffi.llvm.0.1.2.source-code.jni_com_alibaba_fastffi_clang_TemplateArgument_cxx_0xc958b748.cc Maven / Gradle / Ivy
The newest version!
#include
#include
#include "clang/AST/TemplateBase.h"
#include "llvm/Support/raw_ostream.h"
#ifdef __cplusplus
extern "C" {
#endif
// Common Stubs
JNIEXPORT
jint JNICALL Java_com_alibaba_fastffi_clang_TemplateArgument_1cxx_10xc958b748__1elementSize_00024_00024_00024(JNIEnv*, jclass) {
return (jint)sizeof(clang::TemplateArgument);
}
JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_TemplateArgument_1cxx_10xc958b748_nativeContainsUnexpandedParameterPack(JNIEnv*, jclass, jlong ptr) {
return (reinterpret_cast(ptr)->containsUnexpandedParameterPack()) ? JNI_TRUE : JNI_FALSE;
}
JNIEXPORT
void JNICALL Java_com_alibaba_fastffi_clang_TemplateArgument_1cxx_10xc958b748_nativeDump0(JNIEnv*, jclass, jlong ptr, jlong arg0 /* Out0 */) {
reinterpret_cast(ptr)->dump(*reinterpret_cast(arg0));
}
JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_TemplateArgument_1cxx_10xc958b748_nativeGetAsDecl(JNIEnv*, jclass, jlong ptr) {
return reinterpret_cast(reinterpret_cast(ptr)->getAsDecl());
}
JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_TemplateArgument_1cxx_10xc958b748_nativeGetAsExpr(JNIEnv*, jclass, jlong ptr) {
return reinterpret_cast(reinterpret_cast(ptr)->getAsExpr());
}
JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_TemplateArgument_1cxx_10xc958b748_nativeGetAsIntegral(JNIEnv*, jclass, jlong ptr, jlong rv_base) {
return reinterpret_cast(new((void*)rv_base) llvm::APSInt(reinterpret_cast(ptr)->getAsIntegral()));
}
JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_TemplateArgument_1cxx_10xc958b748_nativeGetAsTemplate(JNIEnv*, jclass, jlong ptr, jlong rv_base) {
return reinterpret_cast(new((void*)rv_base) clang::TemplateName(reinterpret_cast(ptr)->getAsTemplate()));
}
JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_TemplateArgument_1cxx_10xc958b748_nativeGetAsTemplateOrTemplatePattern(JNIEnv*, jclass, jlong ptr, jlong rv_base) {
return reinterpret_cast(new((void*)rv_base) clang::TemplateName(reinterpret_cast(ptr)->getAsTemplateOrTemplatePattern()));
}
JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_TemplateArgument_1cxx_10xc958b748_nativeGetAsType(JNIEnv*, jclass, jlong ptr, jlong rv_base) {
return reinterpret_cast(new((void*)rv_base) clang::QualType(reinterpret_cast(ptr)->getAsType()));
}
JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_TemplateArgument_1cxx_10xc958b748_nativeGetIntegralType(JNIEnv*, jclass, jlong ptr, jlong rv_base) {
return reinterpret_cast(new((void*)rv_base) clang::QualType(reinterpret_cast(ptr)->getIntegralType()));
}
JNIEXPORT
jint JNICALL Java_com_alibaba_fastffi_clang_TemplateArgument_1cxx_10xc958b748_nativeGetKind(JNIEnv*, jclass, jlong ptr) {
return (jint)(reinterpret_cast(ptr)->getKind());
}
JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_TemplateArgument_1cxx_10xc958b748_nativeGetNonTypeTemplateArgumentType(JNIEnv*, jclass, jlong ptr, jlong rv_base) {
return reinterpret_cast(new((void*)rv_base) clang::QualType(reinterpret_cast(ptr)->getNonTypeTemplateArgumentType()));
}
JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_TemplateArgument_1cxx_10xc958b748_nativeGetNullPtrType(JNIEnv*, jclass, jlong ptr, jlong rv_base) {
return reinterpret_cast(new((void*)rv_base) clang::QualType(reinterpret_cast(ptr)->getNullPtrType()));
}
JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_TemplateArgument_1cxx_10xc958b748_nativeGetPackAsArray(JNIEnv*, jclass, jlong ptr, jlong rv_base) {
return reinterpret_cast(new((void*)rv_base) llvm::ArrayRef(reinterpret_cast(ptr)->getPackAsArray()));
}
JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_TemplateArgument_1cxx_10xc958b748_nativeGetPackExpansionPattern(JNIEnv*, jclass, jlong ptr, jlong rv_base) {
return reinterpret_cast(new((void*)rv_base) clang::TemplateArgument(reinterpret_cast(ptr)->getPackExpansionPattern()));
}
JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_TemplateArgument_1cxx_10xc958b748_nativeGetParamTypeForDecl(JNIEnv*, jclass, jlong ptr, jlong rv_base) {
return reinterpret_cast(new((void*)rv_base) clang::QualType(reinterpret_cast(ptr)->getParamTypeForDecl()));
}
JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_TemplateArgument_1cxx_10xc958b748_nativeIsDependent(JNIEnv*, jclass, jlong ptr) {
return (reinterpret_cast(ptr)->isDependent()) ? JNI_TRUE : JNI_FALSE;
}
JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_TemplateArgument_1cxx_10xc958b748_nativeIsInstantiationDependent(JNIEnv*, jclass, jlong ptr) {
return (reinterpret_cast(ptr)->isInstantiationDependent()) ? JNI_TRUE : JNI_FALSE;
}
JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_TemplateArgument_1cxx_10xc958b748_nativeIsNull(JNIEnv*, jclass, jlong ptr) {
return (reinterpret_cast(ptr)->isNull()) ? JNI_TRUE : JNI_FALSE;
}
JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_TemplateArgument_1cxx_10xc958b748_nativeIsPackExpansion(JNIEnv*, jclass, jlong ptr) {
return (reinterpret_cast(ptr)->isPackExpansion()) ? JNI_TRUE : JNI_FALSE;
}
JNIEXPORT
void JNICALL Java_com_alibaba_fastffi_clang_TemplateArgument_1cxx_10xc958b748_nativeSetIntegralType(JNIEnv*, jclass, jlong ptr, jlong arg0 /* T0 */) {
reinterpret_cast(ptr)->setIntegralType(*reinterpret_cast(arg0));
}
JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_TemplateArgument_1cxx_10xc958b748_nativeStructurallyEquals(JNIEnv*, jclass, jlong ptr, jlong arg0 /* Other0 */) {
return (reinterpret_cast(ptr)->structurallyEquals(*reinterpret_cast(arg0))) ? JNI_TRUE : JNI_FALSE;
}
#ifdef __cplusplus
}
#endif