Passing a Swift function as an OpaquePointer to another C function

Ah. Just for the sake of education. If the callback isn't a variadic function, how would we get it to work? (I couldn't find any docs or anything online that showed how to do it).