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

The newest version!
#include 
#include 
#include "llvm/IR/LLVMContext.h"

#ifdef __cplusplus
extern "C" {
#endif

// Common Stubs

JNIEXPORT
jint JNICALL Java_com_alibaba_fastffi_llvm_LLVMContext_1cxx_10xf30e4361__1elementSize_00024_00024_00024(JNIEnv*, jclass) {
    return (jint)sizeof(llvm::LLVMContext);
}

JNIEXPORT
void JNICALL Java_com_alibaba_fastffi_llvm_LLVMContext_1cxx_10xf30e4361_nativeDelete(JNIEnv*, jclass, jlong ptr) {
	delete reinterpret_cast(ptr);
}

JNIEXPORT
jlong JNICALL Java_com_alibaba_fastffi_llvm_LLVMContext_1cxx_10xf30e4361_nativeCreateFactory0(JNIEnv*, jclass) {
	return reinterpret_cast(new llvm::LLVMContext());
}

#ifdef __cplusplus
}
#endif




© 2015 - 2024 Weber Informatics LLC | Privacy Policy