[llvm-dev] C binding for CloneFunctionInto()

Toshiyasu Morita via llvm-dev llvm-dev at lists.llvm.org
Mon Mar 27 17:48:01 PDT 2017


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/7dea2ce0/attachment.html>


More information about the llvm-dev mailing list