astffi.llvm.0.1.2.source-code.jni_com_alibaba_fastffi_clang_NestedNameSpecifier_cxx_0x158b942b.cc Maven / Gradle / Ivy
The newest version!
#include
#include
#include "clang/AST/NestedNameSpecifier.h"
#ifdef __cplusplus
extern "C" {
#endif
// Common Stubs
JNIEXPORT
jint JNICALL Java_com_alibaba_fastffi_clang_NestedNameSpecifier_1cxx_10x158b942b__1elementSize_00024_00024_00024(JNIEnv*, jclass) {
return (jint)sizeof(clang::NestedNameSpecifier);
}
JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_NestedNameSpecifier_1cxx_10x158b942b_nativeGetAsIdentifier(JNIEnv*, jclass, jlong ptr) {
return reinterpret_cast(reinterpret_cast(ptr)->getAsIdentifier());
}
JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_NestedNameSpecifier_1cxx_10x158b942b_nativeGetAsNamespace(JNIEnv*, jclass, jlong ptr) {
return reinterpret_cast(reinterpret_cast(ptr)->getAsNamespace());
}
JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_NestedNameSpecifier_1cxx_10x158b942b_nativeGetAsNamespaceAlias(JNIEnv*, jclass, jlong ptr) {
return reinterpret_cast(reinterpret_cast(ptr)->getAsNamespaceAlias());
}
JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_NestedNameSpecifier_1cxx_10x158b942b_nativeGetAsRecordDecl(JNIEnv*, jclass, jlong ptr) {
return reinterpret_cast(reinterpret_cast(ptr)->getAsRecordDecl());
}
JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_NestedNameSpecifier_1cxx_10x158b942b_nativeGetAsType(JNIEnv*, jclass, jlong ptr) {
return reinterpret_cast(reinterpret_cast(ptr)->getAsType());
}
JNIEXPORT
jint JNICALL Java_com_alibaba_fastffi_clang_NestedNameSpecifier_1cxx_10x158b942b_nativeGetKind(JNIEnv*, jclass, jlong ptr) {
return (jint)(reinterpret_cast(ptr)->getKind());
}
JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_NestedNameSpecifier_1cxx_10x158b942b_nativeGetPrefix(JNIEnv*, jclass, jlong ptr) {
return reinterpret_cast(reinterpret_cast(ptr)->getPrefix());
}
#ifdef __cplusplus
}
#endif