<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Feb 13, 2013, at 3:59 AM, Moritz Maxeiner <<a href="mailto:moritzmaxeiner@googlemail.com">moritzmaxeiner@googlemail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
<div text="#000000" bgcolor="#FFFFFF">
<div class="moz-text-flowed" style="font-family: -moz-fixed;
font-size: 14px;" lang="x-western">On 2/13/2013 5:46 AM, Chris
Lattner wrote:
<br>
<blockquote type="cite" style="">On Feb 10, 2013,
at 9:13 AM, Moritz Maxeiner <a class="moz-txt-link-rfc2396E" href="mailto:moritzmaxeiner@googlemail.com"><moritzmaxeiner@googlemail.com></a>
wrote:
<br>
<br>
<blockquote type="cite" style="">Add two new
functions to the C API:
<br>
<br>
LLVMCreateMemoryBufferWithMemoryRange - exposes
MemoryBuffer::getMemBuffer
<br>
LLVMCreateMemoryBufferWithMemoryRangeCopy - exposes
MemoryBuffer::getMemBufferCopy
<br>
</blockquote>
These new APIs should take a "const char*" + length. The memory
buffer may have embedded nul's in it.
<br>
</blockquote>
<br>
Of course, my bad. I assume the BufferName may not contain nuls,
so I added the lengths only for the
<br>
InputData, if that is not the case - i.e. the BufferName may
contain nuls - I'll change that as well.
<br></div></div></blockquote><div><br></div><div>LGTM!</div><div><br></div><div>-Chris</div><div><br></div></div></body></html>