[llvm-commits] Patch for LLVMGetModuleContext

Eric Dobson endobson at mac.com
Tue Nov 23 11:58:46 PST 2010


Currently the C api does not have a wrapper for getting a context object out of anything besides a type, even though the C++ api has this. I have attached a patch which adds a wrapper function around Module::getContext, as there already is provided functions for getting the module out of other objects.

-Eric

-------------- next part --------------
A non-text attachment was scrubbed...
Name: LLVMGetModuleContext.patch
Type: application/octet-stream
Size: 1088 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20101123/b08445e6/attachment.obj>


More information about the llvm-commits mailing list