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

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

#ifdef __cplusplus
extern "C" {
#endif

// Common Stubs

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

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

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_TemplateArgumentLoc_1cxx_10xeaf9ced8_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_TemplateArgumentLoc_1cxx_10xeaf9ced8_nativeGetSourceRange(JNIEnv*, jclass, jlong ptr, jlong rv_base) {
	return reinterpret_cast(new((void*)rv_base) clang::SourceRange(reinterpret_cast(ptr)->getSourceRange()));
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_TemplateArgumentLoc_1cxx_10xeaf9ced8_nativeGetTemplateEllipsisLoc(JNIEnv*, jclass, jlong ptr, jlong rv_base) {
	return reinterpret_cast(new((void*)rv_base) clang::SourceLocation(reinterpret_cast(ptr)->getTemplateEllipsisLoc()));
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_TemplateArgumentLoc_1cxx_10xeaf9ced8_nativeGetTemplateNameLoc(JNIEnv*, jclass, jlong ptr, jlong rv_base) {
	return reinterpret_cast(new((void*)rv_base) clang::SourceLocation(reinterpret_cast(ptr)->getTemplateNameLoc()));
}

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

#ifdef __cplusplus
}
#endif




© 2015 - 2024 Weber Informatics LLC | Privacy Policy