astffi.llvm.0.1.2.source-code.jni_com_alibaba_fastffi_llvm_BitcodeReader_cxx_0x5697bd66.cc Maven / Gradle / Ivy
The newest version!
#include
#include
#include "llvm/Bitcode/BitcodeReader.h"
#ifdef __cplusplus
extern "C" {
#endif
// Common Stubs
JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_llvm_BitcodeReader_1cxx_10x5697bd66_nativeParseBitcodeFile(JNIEnv*, jclass, jlong rv_base, jlong arg0 /* Buffer0 */, jlong arg1 /* Context1 */) {
return reinterpret_cast(new((void*)rv_base) llvm::Expected>(llvm::parseBitcodeFile(*reinterpret_cast(arg0), *reinterpret_cast(arg1))));
}
#ifdef __cplusplus
}
#endif