[Chapel Merge] Recommend `c_array` instead of tuples for C array

Branch: refs/heads/main
Revision: 63682a1
Author: mppf
Link: Recommend `c_array` instead of tuples for C array interoperability. by gbtitus · Pull Request #19724 · chapel-lang/chapel · GitHub
Log Message:

Merge pull request #19724 from gbtitus/interop-with-c-arrays

Recommend c_array instead of tuples for C array interoperability.

[PR by @gbtitus - thanks! reviewed/merged by @mppf]

The c_array() type is an explicitly intended and better match for
fixed-size C arrays than a homogeneous tuple is. Update the interop doc
to say so.

Modified Files:
M doc/rst/language/spec/interoperability.rst

Compare: https://github.com/chapel-lang/chapel/compare/4adac779c779...63682a1d15ed