Using C functions as Swift struct methods

I happened to be familiar with this because I reported a bug some time ago: Import C functions as subscript methods, Import C functions as subscript methods (follow-up) – which, by the way, hasn't been fixed until now.