diff options
Diffstat (limited to 'llvm_zluda/src/lib.rs')
-rw-r--r-- | llvm_zluda/src/lib.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm_zluda/src/lib.rs b/llvm_zluda/src/lib.rs new file mode 100644 index 0000000..18072a8 --- /dev/null +++ b/llvm_zluda/src/lib.rs @@ -0,0 +1,10 @@ +use llvm_sys::prelude::*;
+pub use llvm_sys::*;
+extern "C" {
+ pub fn LLVMZludaBuildAlloca(
+ B: LLVMBuilderRef,
+ Ty: LLVMTypeRef,
+ AddrSpace: u32,
+ Name: *const i8,
+ ) -> LLVMValueRef;
+}
|