[llvm-commits] llvm-c patch to add LLVMGetTypeByName and LLVMConstPointerNull

Chris Lattner clattner at apple.com
Mon Jul 6 10:34:41 PDT 2009


On Jul 2, 2009, at 7:56 PM, Wladimir van der Laan wrote:

> 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.

Applied, thanks!
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090706/080163.html

-Chris



More information about the llvm-commits mailing list