[Commotion-admin] [commotiond] Consolidate multiple fixed-index types into single types (#112)

Josh King notifications at github.com
Thu Sep 4 16:28:32 EDT 2014


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 #111, 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.

---
Reply to this email directly or view it on GitHub:
https://github.com/opentechinstitute/commotiond/issues/112
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.chambana.net/pipermail/commotion-admin/attachments/20140904/7556c9ca/attachment.html>


More information about the Commotion-admin mailing list