Function rustc::llvm::LLVMRustCreateMemoryBufferWithContentsOfFile [−] [src]

pub unsafe extern fn LLVMRustCreateMemoryBufferWithContentsOfFile(Path: *const i8) -> *mut MemoryBuffer_opaque
Unstable

Reads the given file and returns it as a memory buffer. Use LLVMDisposeMemoryBuffer() to get rid of it.