astffi.llvm.0.1.2.source-code.jni_com_alibaba_fastffi_clang_HeaderSearch_cxx_0xd12d3906.cc Maven / Gradle / Ivy
The newest version!
#include
#include
#include "clang/Lex/HeaderSearch.h"
#ifdef __cplusplus
extern "C" {
#endif
// Common Stubs
JNIEXPORT
jint JNICALL Java_com_alibaba_fastffi_clang_HeaderSearch_1cxx_10xd12d3906__1elementSize_00024_00024_00024(JNIEnv*, jclass) {
return (jint)sizeof(clang::HeaderSearch);
}
JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_HeaderSearch_1cxx_10xd12d3906_nativeAngled_1dir_1begin(JNIEnv*, jclass, jlong ptr, jlong rv_base) {
return reinterpret_cast(new((void*)rv_base) clang::HeaderSearch::search_dir_iterator(reinterpret_cast(ptr)->angled_dir_begin()));
}
JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_HeaderSearch_1cxx_10xd12d3906_nativeAngled_1dir_1end(JNIEnv*, jclass, jlong ptr, jlong rv_base) {
return reinterpret_cast(new((void*)rv_base) clang::HeaderSearch::search_dir_iterator(reinterpret_cast(ptr)->angled_dir_end()));
}
JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_HeaderSearch_1cxx_10xd12d3906_nativeQuoted_1dir_1begin(JNIEnv*, jclass, jlong ptr, jlong rv_base) {
return reinterpret_cast(new((void*)rv_base) clang::HeaderSearch::search_dir_iterator(reinterpret_cast(ptr)->quoted_dir_begin()));
}
JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_HeaderSearch_1cxx_10xd12d3906_nativeQuoted_1dir_1end(JNIEnv*, jclass, jlong ptr, jlong rv_base) {
return reinterpret_cast(new((void*)rv_base) clang::HeaderSearch::search_dir_iterator(reinterpret_cast(ptr)->quoted_dir_end()));
}
JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_HeaderSearch_1cxx_10xd12d3906_nativeSearch_1dir_1begin(JNIEnv*, jclass, jlong ptr, jlong rv_base) {
return reinterpret_cast(new((void*)rv_base) clang::HeaderSearch::search_dir_iterator(reinterpret_cast(ptr)->search_dir_begin()));
}
JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_HeaderSearch_1cxx_10xd12d3906_nativeSearch_1dir_1end(JNIEnv*, jclass, jlong ptr, jlong rv_base) {
return reinterpret_cast(new((void*)rv_base) clang::HeaderSearch::search_dir_iterator(reinterpret_cast(ptr)->search_dir_end()));
}
JNIEXPORT
jint JNICALL Java_com_alibaba_fastffi_clang_HeaderSearch_1cxx_10xd12d3906_nativeSearch_1dir_1size(JNIEnv*, jclass, jlong ptr) {
return (jint)(reinterpret_cast(ptr)->search_dir_size());
}
JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_HeaderSearch_1cxx_10xd12d3906_nativeSystem_1dir_1begin(JNIEnv*, jclass, jlong ptr, jlong rv_base) {
return reinterpret_cast(new((void*)rv_base) clang::HeaderSearch::search_dir_iterator(reinterpret_cast(ptr)->system_dir_begin()));
}
JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_HeaderSearch_1cxx_10xd12d3906_nativeSystem_1dir_1end(JNIEnv*, jclass, jlong ptr, jlong rv_base) {
return reinterpret_cast(new((void*)rv_base) clang::HeaderSearch::search_dir_iterator(reinterpret_cast(ptr)->system_dir_end()));
}
#ifdef __cplusplus
}
#endif