Support C structures in Haskell FFI
This ticket is for tracking progress on \[\[CStructures\]\] language extension proposal (it lives here now: https://gitlab.haskell.org/ghc/ghc/-/wikis/c-structures).
The idea is to support C structures in Haskell FFI. See wiki for details.
If it will be accepted, I'm going to implement it in few steps. The first one is to support structures as return value. Platform specific part for that is already implemented, see [D252](https://phabricator.haskell.org/D252)
<details><summary>Trac metadata</summary>
| Trac field | Value |
| ---------------------- | -------------- |
| Version | 7.8.3 |
| Type | FeatureRequest |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture | |
</details>
<!-- {"blocked_by":[],"summary":"Support C structures in Haskell FFI","status":"New","operating_system":"","component":"Compiler","related":[],"milestone":"","resolution":"Unresolved","owner":{"tag":"Unowned"},"version":"7.8.3","keywords":[],"differentials":[],"test_case":"","architecture":"","cc":[""],"type":"FeatureRequest","description":"\r\nThis ticket is for tracking progress on [[CStructures]] language extension proposal.\r\n\r\nThe idea is to support C structures in Haskell FFI. See wiki for details.\r\n\r\nIf it will be accepted, I'm going to implement it in few steps. The first one is to support structures as return value. Platform specific part for that is already implemented, see Phab:D252","type_of_failure":"OtherFailure","blocking":[]} -->
issue