[llvm-dev] C binding for CloneFunctionInto()

Toshiyasu Morita via llvm-dev llvm-dev at lists.llvm.org
Mon Mar 27 18:19:23 PDT 2017


Ah, never mind...just realized I can just deref the pointer.

Toshi


On Mon, Mar 27, 2017 at 5:48 PM, Toshiyasu Morita <toshi at tensyr.com> wrote:

> I'd like to call CloneFunctionInto() from C code, so I tried to create a C
> binding.
> However, it seems some of the parameters to CloneFunctionInto() are
> references, not pointers, and the wrap/unwrap macros do not work on
> references.
>
> Is there a better way to create a C binding for CloneFunctionInto()?
>
> Toshi
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170327/67a32908/attachment.html>


More information about the llvm-dev mailing list