astffi.llvm.0.1.2.source-code.jni_com_alibaba_fastffi_clang_CXXDestructorDecl_cxx_0x7af32df5.cc Maven / Gradle / Ivy
The newest version!
#include
#include
#include "clang/AST/DeclCXX.h"
#include "clang/AST/DeclCXX.h"
#include "clang/AST/Decl.h"
#include "clang/AST/Decl.h"
#include "clang/AST/Decl.h"
#include "clang/AST/Decl.h"
#include "clang/AST/DeclBase.h"
#include "clang/AST/ASTContext.h"
#include "clang/Basic/SourceManager.h"
#include "clang/AST/DeclBase.h"
#ifdef __cplusplus
extern "C" {
#endif
// Common Stubs
JNIEXPORT
jint JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5__1elementSize_00024_00024_00024(JNIEnv*, jclass) {
return (jint)sizeof(clang::CXXDestructorDecl);
}
JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeDecls_1begin(JNIEnv*, jclass, jlong ptr, jlong rv_base) {
return reinterpret_cast(new((void*)rv_base) clang::DeclContext::decl_iterator(reinterpret_cast(ptr)->decls_begin()));
}
JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeDecls_1empty(JNIEnv*, jclass, jlong ptr) {
return (reinterpret_cast(ptr)->decls_empty()) ? JNI_TRUE : JNI_FALSE;
}
JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeDecls_1end(JNIEnv*, jclass, jlong ptr, jlong rv_base) {
return reinterpret_cast(new((void*)rv_base) clang::DeclContext::decl_iterator(reinterpret_cast(ptr)->decls_end()));
}
JNIEXPORT
void JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeDump0(JNIEnv*, jclass, jlong ptr, jlong arg0 /* Out0 */, jboolean arg1 /* Deserialize1 */, jint arg2 /* OutputFormat2 */) {
reinterpret_cast(ptr)->dump(*reinterpret_cast(arg0), (arg1 == JNI_TRUE ? true : false), static_cast(arg2));
}
JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeGetASTContext(JNIEnv*, jclass, jlong ptr) {
return reinterpret_cast(&(reinterpret_cast(ptr)->getASTContext()));
}
JNIEXPORT
jint JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeGetAccess(JNIEnv*, jclass, jlong ptr) {
return (jint)(reinterpret_cast(ptr)->getAccess());
}
JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeGetAttrs(JNIEnv*, jclass, jlong ptr) {
return reinterpret_cast(&(reinterpret_cast(ptr)->getAttrs()));
}
JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeGetBeginLoc(JNIEnv*, jclass, jlong ptr, jlong rv_base) {
return reinterpret_cast(new((void*)rv_base) clang::SourceLocation(reinterpret_cast(ptr)->getBeginLoc()));
}
JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeGetDeclContext(JNIEnv*, jclass, jlong ptr) {
return reinterpret_cast(reinterpret_cast(ptr)->getDeclContext());
}
JNIEXPORT
jint JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeGetDeclKind(JNIEnv*, jclass, jlong ptr) {
return (jint)(reinterpret_cast(ptr)->getDeclKind());
}
JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeGetDeclName(JNIEnv*, jclass, jlong ptr, jlong rv_base) {
return reinterpret_cast(new((void*)rv_base) clang::DeclarationName(reinterpret_cast(ptr)->getDeclName()));
}
JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeGetDefinition(JNIEnv*, jclass, jlong ptr) {
return reinterpret_cast(reinterpret_cast(ptr)->getDefinition());
}
JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeGetDescribedFunctionTemplate(JNIEnv*, jclass, jlong ptr) {
return reinterpret_cast(reinterpret_cast(ptr)->getDescribedFunctionTemplate());
}
JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeGetEndLoc(JNIEnv*, jclass, jlong ptr, jlong rv_base) {
return reinterpret_cast(new((void*)rv_base) clang::SourceLocation(reinterpret_cast(ptr)->getEndLoc()));
}
JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeGetExternCContext(JNIEnv*, jclass, jlong ptr) {
return reinterpret_cast(reinterpret_cast(ptr)->getExternCContext());
}
JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeGetIdentifier(JNIEnv*, jclass, jlong ptr) {
return reinterpret_cast(reinterpret_cast(ptr)->getIdentifier());
}
JNIEXPORT
jint JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeGetKind(JNIEnv*, jclass, jlong ptr) {
return (jint)(reinterpret_cast(ptr)->getKind());
}
JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeGetLexicalParent(JNIEnv*, jclass, jlong ptr) {
return reinterpret_cast(reinterpret_cast(ptr)->getLexicalParent());
}
JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeGetLocation(JNIEnv*, jclass, jlong ptr, jlong rv_base) {
return reinterpret_cast(new((void*)rv_base) clang::SourceLocation(reinterpret_cast(ptr)->getLocation()));
}
JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeGetLookupParent(JNIEnv*, jclass, jlong ptr) {
return reinterpret_cast(reinterpret_cast(ptr)->getLookupParent());
}
JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeGetMethodQualifiers(JNIEnv*, jclass, jlong ptr, jlong rv_base) {
return reinterpret_cast(new((void*)rv_base) clang::Qualifiers(reinterpret_cast(ptr)->getMethodQualifiers()));
}
JNIEXPORT
jint JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeGetMinRequiredArguments(JNIEnv*, jclass, jlong ptr) {
return (jint)(reinterpret_cast(ptr)->getMinRequiredArguments());
}
JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeGetMostRecentDecl(JNIEnv*, jclass, jlong ptr) {
return reinterpret_cast(reinterpret_cast(ptr)->getMostRecentDecl());
}
JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeGetName(JNIEnv*, jclass, jlong ptr, jlong rv_base) {
return reinterpret_cast(new((void*)rv_base) llvm::StringRef(reinterpret_cast(ptr)->getName()));
}
JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeGetNameAsString(JNIEnv*, jclass, jlong ptr, jlong rv_base) {
return reinterpret_cast(new((void*)rv_base) std::string(reinterpret_cast(ptr)->getNameAsString()));
}
JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeGetNextDeclInContext(JNIEnv*, jclass, jlong ptr) {
return reinterpret_cast(reinterpret_cast(ptr)->getNextDeclInContext());
}
JNIEXPORT
jint JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeGetNumParams(JNIEnv*, jclass, jlong ptr) {
return (jint)(reinterpret_cast(ptr)->getNumParams());
}
JNIEXPORT
jint JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeGetOverloadedOperator(JNIEnv*, jclass, jlong ptr) {
return (jint)(reinterpret_cast(ptr)->getOverloadedOperator());
}
JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeGetParamDecl(JNIEnv*, jclass, jlong ptr, jint arg0 /* idx0 */) {
return reinterpret_cast(reinterpret_cast(ptr)->getParamDecl(arg0));
}
JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeGetParent(JNIEnv*, jclass, jlong ptr) {
return reinterpret_cast(reinterpret_cast(ptr)->getParent());
}
JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeGetParentASTContext(JNIEnv*, jclass, jlong ptr) {
return reinterpret_cast(&(reinterpret_cast(ptr)->getParentASTContext()));
}
JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeGetPreviousDecl(JNIEnv*, jclass, jlong ptr) {
return reinterpret_cast(reinterpret_cast(ptr)->getPreviousDecl());
}
JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeGetPrimaryContext(JNIEnv*, jclass, jlong ptr) {
return reinterpret_cast(reinterpret_cast(ptr)->getPrimaryContext());
}
JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeGetQualifier(JNIEnv*, jclass, jlong ptr) {
return reinterpret_cast(reinterpret_cast(ptr)->getQualifier());
}
JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeGetRedeclContext(JNIEnv*, jclass, jlong ptr) {
return reinterpret_cast(reinterpret_cast(ptr)->getRedeclContext());
}
JNIEXPORT
jint JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeGetRefQualifier(JNIEnv*, jclass, jlong ptr) {
return (jint)(reinterpret_cast(ptr)->getRefQualifier());
}
JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeGetReturnType(JNIEnv*, jclass, jlong ptr, jlong rv_base) {
return reinterpret_cast(new((void*)rv_base) clang::QualType(reinterpret_cast(ptr)->getReturnType()));
}
JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeGetTranslationUnitDecl(JNIEnv*, jclass, jlong ptr) {
return reinterpret_cast(reinterpret_cast(ptr)->getTranslationUnitDecl());
}
JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeGetTypeSourceInfo(JNIEnv*, jclass, jlong ptr) {
return reinterpret_cast(reinterpret_cast(ptr)->getTypeSourceInfo());
}
JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeHasAttrs(JNIEnv*, jclass, jlong ptr) {
return (reinterpret_cast(ptr)->hasAttrs()) ? JNI_TRUE : JNI_FALSE;
}
JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeHasBody(JNIEnv*, jclass, jlong ptr) {
return (reinterpret_cast(ptr)->hasBody()) ? JNI_TRUE : JNI_FALSE;
}
JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeIsClosure(JNIEnv*, jclass, jlong ptr) {
return (reinterpret_cast(ptr)->isClosure()) ? JNI_TRUE : JNI_FALSE;
}
JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeIsConst(JNIEnv*, jclass, jlong ptr) {
return (reinterpret_cast(ptr)->isConst()) ? JNI_TRUE : JNI_FALSE;
}
JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeIsDefaulted(JNIEnv*, jclass, jlong ptr) {
return (reinterpret_cast(ptr)->isDefaulted()) ? JNI_TRUE : JNI_FALSE;
}
JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeIsDefined(JNIEnv*, jclass, jlong ptr) {
return (reinterpret_cast(ptr)->isDefined()) ? JNI_TRUE : JNI_FALSE;
}
JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeIsDeleted(JNIEnv*, jclass, jlong ptr) {
return (reinterpret_cast(ptr)->isDeleted()) ? JNI_TRUE : JNI_FALSE;
}
JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeIsDependentContext(JNIEnv*, jclass, jlong ptr) {
return (reinterpret_cast(ptr)->isDependentContext()) ? JNI_TRUE : JNI_FALSE;
}
JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeIsExplicitlyDeclaredInMainFile(JNIEnv*, jclass, jlong ptr) {
return (!reinterpret_cast(ptr)->isImplicit() && reinterpret_cast(ptr)->getASTContext().getSourceManager().isInMainFile(reinterpret_cast(ptr)->getLocation())) ? JNI_TRUE : JNI_FALSE;
}
JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeIsExplicitlyDefaulted(JNIEnv*, jclass, jlong ptr) {
return (reinterpret_cast(ptr)->isExplicitlyDefaulted()) ? JNI_TRUE : JNI_FALSE;
}
JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeIsExternC(JNIEnv*, jclass, jlong ptr) {
return (reinterpret_cast(ptr)->isExternC()) ? JNI_TRUE : JNI_FALSE;
}
JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeIsExternCContext(JNIEnv*, jclass, jlong ptr) {
return (reinterpret_cast(ptr)->isExternCContext()) ? JNI_TRUE : JNI_FALSE;
}
JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeIsExternCXXContext(JNIEnv*, jclass, jlong ptr) {
return (reinterpret_cast(ptr)->isExternCXXContext()) ? JNI_TRUE : JNI_FALSE;
}
JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeIsFileContext(JNIEnv*, jclass, jlong ptr) {
return (reinterpret_cast(ptr)->isFileContext()) ? JNI_TRUE : JNI_FALSE;
}
JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeIsFirstDecl(JNIEnv*, jclass, jlong ptr) {
return (reinterpret_cast(ptr)->isFirstDecl()) ? JNI_TRUE : JNI_FALSE;
}
JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeIsFunctionOrMethod(JNIEnv*, jclass, jlong ptr) {
return (reinterpret_cast(ptr)->isFunctionOrMethod()) ? JNI_TRUE : JNI_FALSE;
}
JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeIsImplicit(JNIEnv*, jclass, jlong ptr) {
return (reinterpret_cast(ptr)->isImplicit()) ? JNI_TRUE : JNI_FALSE;
}
JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeIsInAnonymousNamespace(JNIEnv*, jclass, jlong ptr) {
return (reinterpret_cast(ptr)->isInAnonymousNamespace()) ? JNI_TRUE : JNI_FALSE;
}
JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeIsInStdNamespace(JNIEnv*, jclass, jlong ptr) {
return (reinterpret_cast(ptr)->isInStdNamespace()) ? JNI_TRUE : JNI_FALSE;
}
JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeIsInlineNamespace(JNIEnv*, jclass, jlong ptr) {
return (reinterpret_cast(ptr)->isInlineNamespace()) ? JNI_TRUE : JNI_FALSE;
}
JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeIsInstance(JNIEnv*, jclass, jlong ptr) {
return (reinterpret_cast(ptr)->isInstance()) ? JNI_TRUE : JNI_FALSE;
}
JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeIsLambdaStaticInvoker(JNIEnv*, jclass, jlong ptr) {
return (reinterpret_cast(ptr)->isLambdaStaticInvoker()) ? JNI_TRUE : JNI_FALSE;
}
JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeIsLookupContext(JNIEnv*, jclass, jlong ptr) {
return (reinterpret_cast(ptr)->isLookupContext()) ? JNI_TRUE : JNI_FALSE;
}
JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeIsNamespace(JNIEnv*, jclass, jlong ptr) {
return (reinterpret_cast(ptr)->isNamespace()) ? JNI_TRUE : JNI_FALSE;
}
JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeIsObjCContainer(JNIEnv*, jclass, jlong ptr) {
return (reinterpret_cast(ptr)->isObjCContainer()) ? JNI_TRUE : JNI_FALSE;
}
JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeIsOverloadedOperator(JNIEnv*, jclass, jlong ptr) {
return (reinterpret_cast(ptr)->isOverloadedOperator()) ? JNI_TRUE : JNI_FALSE;
}
JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeIsPure(JNIEnv*, jclass, jlong ptr) {
return (reinterpret_cast(ptr)->isPure()) ? JNI_TRUE : JNI_FALSE;
}
JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeIsRecord(JNIEnv*, jclass, jlong ptr) {
return (reinterpret_cast(ptr)->isRecord()) ? JNI_TRUE : JNI_FALSE;
}
JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeIsStatic(JNIEnv*, jclass, jlong ptr) {
return (reinterpret_cast(ptr)->isStatic()) ? JNI_TRUE : JNI_FALSE;
}
JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeIsStdNamespace(JNIEnv*, jclass, jlong ptr) {
return (reinterpret_cast(ptr)->isStdNamespace()) ? JNI_TRUE : JNI_FALSE;
}
JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeIsThisDeclarationADefinition(JNIEnv*, jclass, jlong ptr) {
return (reinterpret_cast(ptr)->isThisDeclarationADefinition()) ? JNI_TRUE : JNI_FALSE;
}
JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeIsTranslationUnit(JNIEnv*, jclass, jlong ptr) {
return (reinterpret_cast(ptr)->isTranslationUnit()) ? JNI_TRUE : JNI_FALSE;
}
JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeIsTransparentContext(JNIEnv*, jclass, jlong ptr) {
return (reinterpret_cast(ptr)->isTransparentContext()) ? JNI_TRUE : JNI_FALSE;
}
JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeIsTrivial(JNIEnv*, jclass, jlong ptr) {
return (reinterpret_cast(ptr)->isTrivial()) ? JNI_TRUE : JNI_FALSE;
}
JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeIsUserProvided(JNIEnv*, jclass, jlong ptr) {
return (reinterpret_cast(ptr)->isUserProvided()) ? JNI_TRUE : JNI_FALSE;
}
JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeIsVariadic(JNIEnv*, jclass, jlong ptr) {
return (reinterpret_cast(ptr)->isVariadic()) ? JNI_TRUE : JNI_FALSE;
}
JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeIsVirtual(JNIEnv*, jclass, jlong ptr) {
return (reinterpret_cast(ptr)->isVirtual()) ? JNI_TRUE : JNI_FALSE;
}
JNIEXPORT
jboolean JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeIsVolatile(JNIEnv*, jclass, jlong ptr) {
return (reinterpret_cast(ptr)->isVolatile()) ? JNI_TRUE : JNI_FALSE;
}
JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeParam_1begin(JNIEnv*, jclass, jlong ptr, jlong rv_base) {
return reinterpret_cast(new((void*)rv_base) clang::FunctionDecl::param_iterator(reinterpret_cast(ptr)->param_begin()));
}
JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeParam_1end(JNIEnv*, jclass, jlong ptr, jlong rv_base) {
return reinterpret_cast(new((void*)rv_base) clang::FunctionDecl::param_iterator(reinterpret_cast(ptr)->param_end()));
}
JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_CXXDestructorDecl_1cxx_10x7af32df5_nativeParam_1size(JNIEnv*, jclass, jlong ptr) {
return (jlong)(reinterpret_cast(ptr)->param_size());
}
#ifdef __cplusplus
}
#endif