Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consolidate multiple fixed-index types into single types #112

Open
jheretic opened this issue Sep 4, 2014 · 0 comments
Open

Consolidate multiple fixed-index types into single types #112

jheretic opened this issue Sep 4, 2014 · 0 comments

Comments

@jheretic
Copy link
Member

jheretic commented Sep 4, 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.

@jheretic jheretic self-assigned this Sep 4, 2014
@jheretic jheretic added API and removed 0 - Backlog labels Jan 8, 2015
@jheretic jheretic added this to the Router-2.0 milestone Jan 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant