-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Allow to forward declare of mbedtls_blowfish_context #1215 #1861
Allow to forward declare of mbedtls_blowfish_context #1215 #1861
Conversation
For issue: #1215 |
Probably I should extend this PR for other such structs. |
@yanesca I added (i think) all needed forward declares |
@gelldur Thanks for extending the fix! Could you please extend it a little bit further? I was thinking about these structures:
|
(There are some other structs in |
@yanesca I updated. I'm not sure about your last comment. Did I add to many forward declare or it is ok ? |
@gelldur Thank you! You didn't add too many, I was just justifying why I didn't ask you to add even more. |
@gelldur Could you please rebase to have a single commit with all the changes and explain in the commit message why we are doing these changes? |
Thanks to forward declare we can declare `struct` in our header file instead making #include
73619e1
to
428cc52
Compare
@yanesca done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! It looks good to me.
Was it tested on other platforms, such as Windows? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am approving this, however I would like to know how other compilers react to this change
Whilst reviewing this, I was wondering if we need some style guidelines or similar to give As such, I'm approving the change, but I see no need to backport. |
As an observation, this names all unnamed |
Status
READY
Requires Backporting
NO
Migrations
NO