C binding for CloneFunctionInto()

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

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

Toshi