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

The newest version!
#include 
#include 
#include "llvm/Object/Binary.h"

#ifdef __cplusplus
extern "C" {
#endif

// Common Stubs

JNIEXPORT
jint JNICALL Java_com_alibaba_fastffi_llvm_OwningBinary_1cxx_10x84ab615e__1elementSize_00024_00024_00024(JNIEnv*, jclass) {
    return (jint)sizeof(llvm::object::OwningBinary);
}

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

#ifdef __cplusplus
}
#endif




© 2015 - 2024 Weber Informatics LLC | Privacy Policy