<div dir="ltr"><div>I was wondering if the usage of char** in LLVM C bindings mostly for outMessages is designed correctly<font color="#000000"> as a C function interface.</font></div><div><font color="#000000"><br></font></div><div><font color="#000000">It's unclear if the buffer should be caller-allocated or callee-allocated. If it's caller-allocated, how does the caller know how big the buffer to be?</font></div><div><font color="#000000"><br></font></div><div><font color="#000000">But if it's callee-allocated, how does one dispose the memory?</font></div><div><font color="#000000"><br></font></div><div><font color="#000000">Maybe I'm missing a piece of documentation, but it either seems a design flaw, or we're sticking with it for backward compat reasons?</font></div><div><font color="#000000"><br></font></div><div><font color="#000000">Hayden</font></div></div>