[llvm-commits] llvm-c patch to add LLVMGetTypeByName and LLVMConstPointerNull
Wladimir van der Laan
laanwj at gmail.com
Thu Jul 2 19:56:42 PDT 2009
Dear LLVM developers,
When working on a project using LLVM I ran into two important calls
that were missing from the llvm-c API (and thus from llvm-py, which
binds it):
LLVMGetTypeByName - a way to get a typedef by name
LLVMConstPointerNull - get a null pointer of whatever type
The attached patch fixes this problem by adding them in Core.h and
Core.cpp. I might run into more of these, but I thought it'd be better
to send this patch before I forget about it.
Greetings,
Wladimir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: core.patch
Type: text/x-patch
Size: 1647 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20090703/12d7677f/attachment.bin>
More information about the llvm-commits
mailing list