1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
use super::prelude::*;
extern "C" {
pub fn LLVMWriteBitcodeToFile(M: LLVMModuleRef, Path: *const ::libc::c_char) -> ::libc::c_int;
pub fn LLVMWriteBitcodeToFD(M: LLVMModuleRef,
FD: ::libc::c_int,
ShouldClose: ::libc::c_int,
Unbuffered: ::libc::c_int)
-> ::libc::c_int;
pub fn LLVMWriteBitcodeToFileHandle(M: LLVMModuleRef, Handle: ::libc::c_int) -> ::libc::c_int;
pub fn LLVMWriteBitcodeToMemoryBuffer(M: LLVMModuleRef) -> LLVMMemoryBufferRef;
}