astffi.llvm.0.1.2.source-code.jni_com_alibaba_fastffi_clang_LocalInstantiationScope_cxx_0x88f69cc1.cc Maven / Gradle / Ivy
The newest version!
#include
#include
#include "clang/Sema/Template.h"
#ifdef __cplusplus
extern "C" {
#endif
// Common Stubs
JNIEXPORT
jint JNICALL Java_com_alibaba_fastffi_clang_LocalInstantiationScope_1cxx_10x88f69cc1__1elementSize_00024_00024_00024(JNIEnv*, jclass) {
return (jint)sizeof(clang::LocalInstantiationScope);
}
JNIEXPORT
void JNICALL Java_com_alibaba_fastffi_clang_LocalInstantiationScope_1cxx_10x88f69cc1_native_1InstantiatedLocal(JNIEnv*, jclass, jlong ptr, jlong arg0 /* D0 */, jlong arg1 /* Inst1 */) {
reinterpret_cast(ptr)->InstantiatedLocal(reinterpret_cast(arg0), reinterpret_cast(arg1));
}
JNIEXPORT
void JNICALL Java_com_alibaba_fastffi_clang_LocalInstantiationScope_1cxx_10x88f69cc1_nativeDelete(JNIEnv*, jclass, jlong ptr) {
delete reinterpret_cast(ptr);
}
JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_LocalInstantiationScope_1cxx_10x88f69cc1_nativeGetSema(JNIEnv*, jclass, jlong ptr) {
return reinterpret_cast(&(reinterpret_cast(ptr)->getSema()));
}
#ifdef __cplusplus
}
#endif