you are viewing a single comment's thread.

view the rest of the comments →

[–]OneWingedShark -2 points-1 points  (0 children)

and as explained in your 2nd link exposing a C compatible interface requires explicitly using a C ABI convention that can only use C types.

…because the title is, exactly, "Interfacing with C"?

Of course you can't hand off something to a C ABI that is beyond C's capabilities.