Skip to content
This repository has been archived by the owner on Aug 6, 2021. It is now read-only.

Declare typedef's for public types #6

Open
ghost opened this issue Mar 3, 2016 · 1 comment
Open

Declare typedef's for public types #6

ghost opened this issue Mar 3, 2016 · 1 comment

Comments

@ghost
Copy link

ghost commented Mar 3, 2016

It is common practice to declare typedef's for public types. We should do the same, so that users don't need to type the struct keyword all the time.

Likewise, it is a common style to use CamelCase to name such types. We should probably follow this style too. Additionally, we should prefix all public types with "idl", e.g. "IdlUser" instead of "struct user".

@ChristianSch
Copy link
Member

Typedefs seem to be bound to some controversies. The prefixes are quite important, I agree.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant