-
Notifications
You must be signed in to change notification settings - Fork 974
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
Structures ending with _t #4
Comments
Hi, The reason I do this is the compiler I'm using requires that whenever you reference a struct or enum you use the |
Thank you for your awesome work!. I think you can close the issue now 😄 |
Hey, I wonder why can't we just do this typedef struct {
char* buffer;
size_t buffer_length;
size_t input_length;
} InputBuffer; Will save an extra line of code and will be as efficient I guess. |
@shubham1172 Awesome! I went ahead and made that change #37 |
I presume you have a lot of coding experience. I don't know why but you append all the names of your structures with _t, example:
and then later redefine it.
Is there any advantage to doing this?
The text was updated successfully, but these errors were encountered: