There's a lot more complexity in writing FFI code - you have to think very carefully about everything you do. Case convention is a triviality here.