| -- This file is generated by SWIG. Do *not* modify by hand. |
| -- |
| |
| with llvm; |
| with Interfaces.C.Strings; |
| |
| |
| package LLVM_bit_Reader.Binding is |
| |
| function LLVMParseBitcode |
| (MemBuf : in llvm.LLVMMemoryBufferRef; |
| OutModule : access llvm.LLVMModuleRef; |
| OutMessage : access Interfaces.C.Strings.chars_ptr) |
| return Interfaces.C.int; |
| |
| function LLVMParseBitcodeInContext |
| (MemBuf : in llvm.LLVMMemoryBufferRef; |
| ContextRef : in llvm.LLVMContextRef; |
| OutModule : access llvm.LLVMModuleRef; |
| OutMessage : access Interfaces.C.Strings.chars_ptr) |
| return Interfaces.C.int; |
| |
| function LLVMGetBitcodeModuleProvider |
| (MemBuf : in llvm.LLVMMemoryBufferRef; |
| OutMP : access llvm.LLVMModuleProviderRef; |
| OutMessage : access Interfaces.C.Strings.chars_ptr) |
| return Interfaces.C.int; |
| |
| function LLVMGetBitcodeModuleProviderInContext |
| (MemBuf : in llvm.LLVMMemoryBufferRef; |
| ContextRef : in llvm.LLVMContextRef; |
| OutMP : access llvm.LLVMModuleProviderRef; |
| OutMessage : access Interfaces.C.Strings.chars_ptr) |
| return Interfaces.C.int; |
| |
| private |
| |
| pragma Import (C, LLVMParseBitcode, "Ada_LLVMParseBitcode"); |
| pragma Import |
| (C, |
| LLVMParseBitcodeInContext, |
| "Ada_LLVMParseBitcodeInContext"); |
| pragma Import |
| (C, |
| LLVMGetBitcodeModuleProvider, |
| "Ada_LLVMGetBitcodeModuleProvider"); |
| pragma Import |
| (C, |
| LLVMGetBitcodeModuleProviderInContext, |
| "Ada_LLVMGetBitcodeModuleProviderInContext"); |
| |
| end LLVM_bit_Reader.Binding; |