How to interop with native code?

It’s the same method as is used with Phoenix Auth