<p>Libcommotion currently uses individual declarations for objects of the same 'type' with indexes of different sizes. Effectively, every _type tag has a corresponding set of constructor declarations. This has some advantages, but can be a hindrance when you want to have better code readability for APIs that wrap a set of functionality around a certain primitive type, for instance wanting to have a single 'co_string_t' that you can send to various string functions. By wrapping all access to object members in access functions per <a href="https://github.com/opentechinstitute/commotiond/issues/111" class="issue-link" title="Add byte-order handling to numerical elements in co_obj">#111</a>, we should be able to determine a way to have the best of both worlds with both specific function declarations, semi-specific object declarations, and generic object access.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/opentechinstitute/commotiond/issues/112">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/3074564__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcyNTQ4MTcxMiwiZGF0YSI6eyJpZCI6NDE1OTY4Njl9fQ==--3d3d302367df2b6efec65c077c7aa9a85c178740.gif" width="1" /></p>