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

The newest version!
#include 
#include 
#include "clang/AST/ASTContext.h"
#include "clang/AST/TemplateBase.h"

#ifdef __cplusplus
extern "C" {
#endif

// Common Stubs

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

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

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

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_ASTContext_1cxx_10xb01a2b7e_nativeGetAdjustedType(JNIEnv*, jclass, jlong ptr, jlong rv_base, jlong arg0 /* Orig0 */, jlong arg1 /* New1 */) {
	return reinterpret_cast(new((void*)rv_base) clang::QualType(reinterpret_cast(ptr)->getAdjustedType(*reinterpret_cast(arg0), *reinterpret_cast(arg1))));
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_ASTContext_1cxx_10xb01a2b7e_nativeGetAttributedType(JNIEnv*, jclass, jlong ptr, jlong rv_base, jint arg0 /* attrKind0 */, jlong arg1 /* modifiedType1 */, jlong arg2 /* equivalentType2 */) {
	return reinterpret_cast(new((void*)rv_base) clang::QualType(reinterpret_cast(ptr)->getAttributedType(static_cast(arg0), *reinterpret_cast(arg1), *reinterpret_cast(arg2))));
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_ASTContext_1cxx_10xb01a2b7e_nativeGetCanonicalTemplateArgument(JNIEnv*, jclass, jlong ptr, jlong rv_base, jlong arg0 /* Arg0 */) {
	return reinterpret_cast(new((void*)rv_base) clang::TemplateArgument(reinterpret_cast(ptr)->getCanonicalTemplateArgument(*reinterpret_cast(arg0))));
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_ASTContext_1cxx_10xb01a2b7e_nativeGetCanonicalTemplateSpecializationType(JNIEnv*, jclass, jlong ptr, jlong rv_base, jlong arg0 /* T0 */, jlong arg1 /* Args1 */) {
	return reinterpret_cast(new((void*)rv_base) clang::QualType(reinterpret_cast(ptr)->getCanonicalTemplateSpecializationType(*reinterpret_cast(arg0), *reinterpret_cast*>(arg1))));
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_ASTContext_1cxx_10xb01a2b7e_nativeGetCanonicalType(JNIEnv*, jclass, jlong ptr, jlong arg0 /* T0 */) {
	return reinterpret_cast(reinterpret_cast(ptr)->getCanonicalType(reinterpret_cast(arg0)));
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_ASTContext_1cxx_10xb01a2b7e_nativeGetConstType(JNIEnv*, jclass, jlong ptr, jlong rv_base, jlong arg0 /* T0 */) {
	return reinterpret_cast(new((void*)rv_base) clang::QualType(reinterpret_cast(ptr)->getConstType(*reinterpret_cast(arg0))));
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_ASTContext_1cxx_10xb01a2b7e_nativeGetDependentNameType(JNIEnv*, jclass, jlong ptr, jlong rv_base, jint arg0 /* Keyword0 */, jlong arg1 /* NNS1 */, jlong arg2 /* Name2 */, jlong arg3 /* Canon3 */) {
	return reinterpret_cast(new((void*)rv_base) clang::QualType(reinterpret_cast(ptr)->getDependentNameType(static_cast(arg0), reinterpret_cast(arg1), reinterpret_cast(arg2), *reinterpret_cast(arg3))));
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_ASTContext_1cxx_10xb01a2b7e_nativeGetDependentTemplateSpecializationType0(JNIEnv*, jclass, jlong ptr, jlong rv_base, jint arg0 /* Keyword0 */, jlong arg1 /* NNS1 */, jlong arg2 /* Name2 */, jlong arg3 /* Args3 */) {
	return reinterpret_cast(new((void*)rv_base) clang::QualType(reinterpret_cast(ptr)->getDependentTemplateSpecializationType(static_cast(arg0), reinterpret_cast(arg1), reinterpret_cast(arg2), *reinterpret_cast(arg3))));
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_ASTContext_1cxx_10xb01a2b7e_nativeGetDependentTemplateSpecializationType1(JNIEnv*, jclass, jlong ptr, jlong rv_base, jint arg0 /* Keyword0 */, jlong arg1 /* NNS1 */, jlong arg2 /* Name2 */, jlong arg3 /* Args3 */) {
	return reinterpret_cast(new((void*)rv_base) clang::QualType(reinterpret_cast(ptr)->getDependentTemplateSpecializationType(static_cast(arg0), reinterpret_cast(arg1), reinterpret_cast(arg2), *reinterpret_cast*>(arg3))));
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_ASTContext_1cxx_10xb01a2b7e_nativeGetElaboratedType(JNIEnv*, jclass, jlong ptr, jlong rv_base, jint arg0 /* Keyword0 */, jlong arg1 /* NNS1 */, jlong arg2 /* NamedType2 */, jlong arg3 /* OwnedTagDecl3 */) {
	return reinterpret_cast(new((void*)rv_base) clang::QualType(reinterpret_cast(ptr)->getElaboratedType(static_cast(arg0), reinterpret_cast(arg1), *reinterpret_cast(arg2), reinterpret_cast(arg3))));
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_ASTContext_1cxx_10xb01a2b7e_nativeGetEnumType(JNIEnv*, jclass, jlong ptr, jlong rv_base, jlong arg0 /* Decl0 */) {
	return reinterpret_cast(new((void*)rv_base) clang::QualType(reinterpret_cast(ptr)->getEnumType(reinterpret_cast(arg0))));
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_ASTContext_1cxx_10xb01a2b7e_nativeGetInjectedClassNameType(JNIEnv*, jclass, jlong ptr, jlong rv_base, jlong arg0 /* Decl0 */, jlong arg1 /* TST1 */) {
	return reinterpret_cast(new((void*)rv_base) clang::QualType(reinterpret_cast(ptr)->getInjectedClassNameType(reinterpret_cast(arg0), *reinterpret_cast(arg1))));
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_ASTContext_1cxx_10xb01a2b7e_nativeGetInjectedTemplateArg(JNIEnv*, jclass, jlong ptr, jlong rv_base, jlong arg0 /* ParamDecl0 */) {
	return reinterpret_cast(new((void*)rv_base) clang::TemplateArgument(reinterpret_cast(ptr)->getInjectedTemplateArg(reinterpret_cast(arg0))));
}

JNIEXPORT
void JNICALL Java_com_alibaba_fastffi_clang_ASTContext_1cxx_10xb01a2b7e_nativeGetInjectedTemplateArgs(JNIEnv*, jclass, jlong ptr, jlong arg0 /* Params0 */, jlong arg1 /* Args1 */) {
	reinterpret_cast(ptr)->getInjectedTemplateArgs(reinterpret_cast(arg0), *reinterpret_cast*>(arg1));
}

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

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_ASTContext_1cxx_10xb01a2b7e_nativeGetIntPtrType(JNIEnv*, jclass, jlong ptr, jlong rv_base) {
	return reinterpret_cast(new((void*)rv_base) clang::QualType(reinterpret_cast(ptr)->getIntPtrType()));
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_ASTContext_1cxx_10xb01a2b7e_nativeGetLValueReferenceType(JNIEnv*, jclass, jlong ptr, jlong rv_base, jlong arg0 /* T0 */, jboolean arg1 /* SpelledAsLValue1 */) {
	return reinterpret_cast(new((void*)rv_base) clang::QualType(reinterpret_cast(ptr)->getLValueReferenceType(*reinterpret_cast(arg0), (arg1 == JNI_TRUE ? true : false))));
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_ASTContext_1cxx_10xb01a2b7e_nativeGetMacroQualifiedType(JNIEnv*, jclass, jlong ptr, jlong rv_base, jlong arg0 /* UnderlyingTy0 */, jlong arg1 /* MacroII1 */) {
	return reinterpret_cast(new((void*)rv_base) clang::QualType(reinterpret_cast(ptr)->getMacroQualifiedType(*reinterpret_cast(arg0), reinterpret_cast(arg1))));
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_ASTContext_1cxx_10xb01a2b7e_nativeGetParenType(JNIEnv*, jclass, jlong ptr, jlong rv_base, jlong arg0 /* NamedType0 */) {
	return reinterpret_cast(new((void*)rv_base) clang::QualType(reinterpret_cast(ptr)->getParenType(*reinterpret_cast(arg0))));
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_ASTContext_1cxx_10xb01a2b7e_nativeGetPointerType(JNIEnv*, jclass, jlong ptr, jlong rv_base, jlong arg0 /* T0 */) {
	return reinterpret_cast(new((void*)rv_base) clang::QualType(reinterpret_cast(ptr)->getPointerType(*reinterpret_cast(arg0))));
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_ASTContext_1cxx_10xb01a2b7e_nativeGetPrimaryMergedDecl(JNIEnv*, jclass, jlong ptr, jlong arg0 /* D0 */) {
	return reinterpret_cast(reinterpret_cast(ptr)->getPrimaryMergedDecl(reinterpret_cast(arg0)));
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_ASTContext_1cxx_10xb01a2b7e_nativeGetPrintingPolicy(JNIEnv*, jclass, jlong ptr) {
	return reinterpret_cast(&(reinterpret_cast(ptr)->getPrintingPolicy()));
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_ASTContext_1cxx_10xb01a2b7e_nativeGetRValueReferenceType(JNIEnv*, jclass, jlong ptr, jlong rv_base, jlong arg0 /* T0 */) {
	return reinterpret_cast(new((void*)rv_base) clang::QualType(reinterpret_cast(ptr)->getRValueReferenceType(*reinterpret_cast(arg0))));
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_ASTContext_1cxx_10xb01a2b7e_nativeGetRecordType(JNIEnv*, jclass, jlong ptr, jlong rv_base, jlong arg0 /* Decl0 */) {
	return reinterpret_cast(new((void*)rv_base) clang::QualType(reinterpret_cast(ptr)->getRecordType(reinterpret_cast(arg0))));
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_ASTContext_1cxx_10xb01a2b7e_nativeGetRestrictType(JNIEnv*, jclass, jlong ptr, jlong rv_base, jlong arg0 /* T0 */) {
	return reinterpret_cast(new((void*)rv_base) clang::QualType(reinterpret_cast(ptr)->getRestrictType(*reinterpret_cast(arg0))));
}

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

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_ASTContext_1cxx_10xb01a2b7e_nativeGetSignedWCharType(JNIEnv*, jclass, jlong ptr, jlong rv_base) {
	return reinterpret_cast(new((void*)rv_base) clang::QualType(reinterpret_cast(ptr)->getSignedWCharType()));
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_ASTContext_1cxx_10xb01a2b7e_nativeGetSourceManager(JNIEnv*, jclass, jlong ptr) {
	return reinterpret_cast(&(reinterpret_cast(ptr)->getSourceManager()));
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_ASTContext_1cxx_10xb01a2b7e_nativeGetSubstTemplateTypeParmPackType(JNIEnv*, jclass, jlong ptr, jlong rv_base, jlong arg0 /* Replaced0 */, jlong arg1 /* ArgPack1 */) {
	return reinterpret_cast(new((void*)rv_base) clang::QualType(reinterpret_cast(ptr)->getSubstTemplateTypeParmPackType(reinterpret_cast(arg0), *reinterpret_cast(arg1))));
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_ASTContext_1cxx_10xb01a2b7e_nativeGetSubstTemplateTypeParmType(JNIEnv*, jclass, jlong ptr, jlong rv_base, jlong arg0 /* Replaced0 */, jlong arg1 /* Replacement1 */) {
	return reinterpret_cast(new((void*)rv_base) clang::QualType(reinterpret_cast(ptr)->getSubstTemplateTypeParmType(reinterpret_cast(arg0), *reinterpret_cast(arg1))));
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_ASTContext_1cxx_10xb01a2b7e_nativeGetTemplateSpecializationType0(JNIEnv*, jclass, jlong ptr, jlong rv_base, jlong arg0 /* T0 */, jlong arg1 /* Args1 */, jlong arg2 /* Canon2 */) {
	return reinterpret_cast(new((void*)rv_base) clang::QualType(reinterpret_cast(ptr)->getTemplateSpecializationType(*reinterpret_cast(arg0), *reinterpret_cast(arg1), *reinterpret_cast(arg2))));
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_ASTContext_1cxx_10xb01a2b7e_nativeGetTemplateSpecializationType1(JNIEnv*, jclass, jlong ptr, jlong rv_base, jlong arg0 /* T0 */, jlong arg1 /* Args1 */, jlong arg2 /* Canon2 */) {
	return reinterpret_cast(new((void*)rv_base) clang::QualType(reinterpret_cast(ptr)->getTemplateSpecializationType(*reinterpret_cast(arg0), *reinterpret_cast*>(arg1), *reinterpret_cast(arg2))));
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_ASTContext_1cxx_10xb01a2b7e_nativeGetTemplateSpecializationTypeInfo(JNIEnv*, jclass, jlong ptr, jlong arg0 /* T0 */, jlong arg1 /* TLoc1 */, jlong arg2 /* Args2 */, jlong arg3 /* Canon3 */) {
	return reinterpret_cast(reinterpret_cast(ptr)->getTemplateSpecializationTypeInfo(*reinterpret_cast(arg0), *reinterpret_cast(arg1), *reinterpret_cast(arg2), *reinterpret_cast(arg3)));
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_ASTContext_1cxx_10xb01a2b7e_nativeGetTemplateTypeParmType(JNIEnv*, jclass, jlong ptr, jlong rv_base, jint arg0 /* Depth0 */, jint arg1 /* Index1 */, jboolean arg2 /* ParameterPack2 */, jlong arg3 /* ParmDecl3 */) {
	return reinterpret_cast(new((void*)rv_base) clang::QualType(reinterpret_cast(ptr)->getTemplateTypeParmType(arg0, arg1, (arg2 == JNI_TRUE ? true : false), reinterpret_cast(arg3))));
}

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

JNIEXPORT
jint JNICALL Java_com_alibaba_fastffi_clang_ASTContext_1cxx_10xb01a2b7e_nativeGetTypeAlign(JNIEnv*, jclass, jlong ptr, jlong arg0 /* T0 */) {
	return (jint)(reinterpret_cast(ptr)->getTypeAlign(reinterpret_cast(arg0)));
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_ASTContext_1cxx_10xb01a2b7e_nativeGetTypeDeclType(JNIEnv*, jclass, jlong ptr, jlong rv_base, jlong arg0 /* Decl0 */, jlong arg1 /* PrevDecl1 */) {
	return reinterpret_cast(new((void*)rv_base) clang::QualType(reinterpret_cast(ptr)->getTypeDeclType(reinterpret_cast(arg0), reinterpret_cast(arg1))));
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_ASTContext_1cxx_10xb01a2b7e_nativeGetTypeOfType(JNIEnv*, jclass, jlong ptr, jlong rv_base, jlong arg0 /* t0 */) {
	return reinterpret_cast(new((void*)rv_base) clang::QualType(reinterpret_cast(ptr)->getTypeOfType(*reinterpret_cast(arg0))));
}

JNIEXPORT
jint JNICALL Java_com_alibaba_fastffi_clang_ASTContext_1cxx_10xb01a2b7e_nativeGetTypeUnadjustedAlign0(JNIEnv*, jclass, jlong ptr, jlong arg0 /* T0 */) {
	return (jint)(reinterpret_cast(ptr)->getTypeUnadjustedAlign(*reinterpret_cast(arg0)));
}

JNIEXPORT
jint JNICALL Java_com_alibaba_fastffi_clang_ASTContext_1cxx_10xb01a2b7e_nativeGetTypeUnadjustedAlign1(JNIEnv*, jclass, jlong ptr, jlong arg0 /* T0 */) {
	return (jint)(reinterpret_cast(ptr)->getTypeUnadjustedAlign(reinterpret_cast(arg0)));
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_ASTContext_1cxx_10xb01a2b7e_nativeGetTypedefType(JNIEnv*, jclass, jlong ptr, jlong rv_base, jlong arg0 /* Decl0 */, jlong arg1 /* Underlying1 */) {
	return reinterpret_cast(new((void*)rv_base) clang::QualType(reinterpret_cast(ptr)->getTypedefType(reinterpret_cast(arg0), *reinterpret_cast(arg1))));
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_ASTContext_1cxx_10xb01a2b7e_nativeGetTypes(JNIEnv*, jclass, jlong ptr) {
	return reinterpret_cast(&(reinterpret_cast(ptr)->getTypes()));
}

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

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_ASTContext_1cxx_10xb01a2b7e_nativeGetUIntPtrType(JNIEnv*, jclass, jlong ptr, jlong rv_base) {
	return reinterpret_cast(new((void*)rv_base) clang::QualType(reinterpret_cast(ptr)->getUIntPtrType()));
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_ASTContext_1cxx_10xb01a2b7e_nativeGetUnsignedWCharType(JNIEnv*, jclass, jlong ptr, jlong rv_base) {
	return reinterpret_cast(new((void*)rv_base) clang::QualType(reinterpret_cast(ptr)->getUnsignedWCharType()));
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_ASTContext_1cxx_10xb01a2b7e_nativeGetVolatileType(JNIEnv*, jclass, jlong ptr, jlong rv_base, jlong arg0 /* T0 */) {
	return reinterpret_cast(new((void*)rv_base) clang::QualType(reinterpret_cast(ptr)->getVolatileType(*reinterpret_cast(arg0))));
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_ASTContext_1cxx_10xb01a2b7e_nativeGetWCharType(JNIEnv*, jclass, jlong ptr, jlong rv_base) {
	return reinterpret_cast(new((void*)rv_base) clang::QualType(reinterpret_cast(ptr)->getWCharType()));
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_ASTContext_1cxx_10xb01a2b7e_nativeGetWIntType(JNIEnv*, jclass, jlong ptr, jlong rv_base) {
	return reinterpret_cast(new((void*)rv_base) clang::QualType(reinterpret_cast(ptr)->getWIntType()));
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_ASTContext_1cxx_10xb01a2b7e_nativeGetWideCharType(JNIEnv*, jclass, jlong ptr, jlong rv_base) {
	return reinterpret_cast(new((void*)rv_base) clang::QualType(reinterpret_cast(ptr)->getWideCharType()));
}

JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_ASTContext_1cxx_10xb01a2b7e_nativeHasSameType0(JNIEnv*, jclass, jlong ptr, jlong arg0 /* T10 */, jlong arg1 /* T21 */) {
	return (reinterpret_cast(ptr)->hasSameType(*reinterpret_cast(arg0), *reinterpret_cast(arg1))) ? JNI_TRUE : JNI_FALSE;
}

JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_ASTContext_1cxx_10xb01a2b7e_nativeHasSameType1(JNIEnv*, jclass, jlong ptr, jlong arg0 /* T10 */, jlong arg1 /* T21 */) {
	return (reinterpret_cast(ptr)->hasSameType(reinterpret_cast(arg0), reinterpret_cast(arg1))) ? JNI_TRUE : JNI_FALSE;
}

#ifdef __cplusplus
}
#endif




© 2015 - 2024 Weber Informatics LLC | Privacy Policy