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

Organize headers in C-Extension #531

Merged
merged 1 commit into from
Mar 30, 2016

Conversation

yeganer
Copy link
Contributor

@yeganer yeganer commented Mar 30, 2016

Header files should only contain includes that are necessary for the
compiler to understand the header. Includes needed by the implementation
should be included by the corresponding source.

With this philosophy in mind the includes in all c files were
reorganized.
As part of this reorganization the header cmontecarlo1.h was removed
and it's declaration moved to cmontecarlo.h

Resolves: #489

Header files should only contain includes that are necessary for the
compiler to understand the header. Includes needed by the implementation
should be included by the corresponding source.

With this philosophy in mind the includes in all c files were
reorganized.
As part of this reorganization the header `cmontecarlo1.h` was removed
and it's declaration moved to `cmontecarlo.h`

Resolves: tardis-sn#489
@yeganer yeganer self-assigned this Mar 30, 2016
@wkerzendorf
Copy link
Member

@chvogl your comments would be interesting. I'm fine to merge this as this is only of cosmetic nature.

@yeganer
Copy link
Contributor Author

yeganer commented Mar 30, 2016

@chvogl @wkerzendorf Since these changes affect mostly imports I'd be happy to help resolve any merge conflicts arising from this change.

@chvogl
Copy link
Contributor

chvogl commented Mar 30, 2016

@wkerzendorf No objections on my account. Fire away!

@wkerzendorf wkerzendorf merged commit 12b3f71 into tardis-sn:master Mar 30, 2016
@yeganer yeganer deleted the organize_c_headers branch March 30, 2016 13:17
@yeganer yeganer mentioned this pull request Mar 31, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants