Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <llvm-c/Core.h>
- #include <llvm-c/ExecutionEngine.h>
- #include <llvm-c/Target.h>
- #include <llvm-c/Analysis.h>
- #include <llvm-c/BitWriter.h>
- int main() {
- LLVMModuleRef mod = LLVMModuleCreateWithName("test");
- }
- ====
- self.LLVMModuleCreateWithName = rffi.llexternal("LLVMModuleCreateWithName", lltype.PTR(lltype.Char), some return type)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement