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

The newest version!
#include 
#include 
#include "clang/AST/Expr.h"
#include "clang/AST/Stmt.h"
#include "llvm/Support/raw_ostream.h"

#ifdef __cplusplus
extern "C" {
#endif

// Common Stubs

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

JNIEXPORT
void JNICALL Java_com_alibaba_fastffi_clang_Expr_1cxx_10x23099d66_nativeDump1(JNIEnv*, jclass, jlong ptr, jlong arg0 /* Out0 */, jlong arg1 /* Context1 */) {
	reinterpret_cast(ptr)->dump(*reinterpret_cast(arg0), *reinterpret_cast(arg1));
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_clang_Expr_1cxx_10x23099d66_nativeGetType(JNIEnv*, jclass, jlong ptr, jlong rv_base) {
	return reinterpret_cast(new((void*)rv_base) clang::QualType(reinterpret_cast(ptr)->getType()));
}

#ifdef __cplusplus
}
#endif




© 2015 - 2024 Weber Informatics LLC | Privacy Policy