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

replace C macros beginning with _ and an uppercase #153

Merged
merged 6 commits into from
Oct 17, 2024
Merged

Conversation

wkliao
Copy link
Member

@wkliao wkliao commented Sep 15, 2024

C99: All identifiers that begin with an underscore and either an
uppercase letter or another underscore are always reserved for any use.

This conforms with NetCDF4 change in version 4.9.3
See Unidata/netcdf-c#2911
C99: All identifiers that begin with an underscore and either an
     uppercase letter or another underscore are always reserved for any
     use.
This replaces all header files that contain, for example
     #define _PNETCDF_H
with
     #define H_PNETCDF
C99: All identifiers that begin with an underscore and either an
     uppercase letter or another underscore are always reserved for any
     use.
This replaces all _RND with PNETCDF_RND
This is to conform with NetCDF4's header, netcdf.hs, changed in 4.9.3.
See Unidata/netcdf-c#2911
@wkliao wkliao merged commit 3ccf1b0 into master Oct 17, 2024
3 of 4 checks passed
@wkliao wkliao deleted the c99_macro branch October 17, 2024 23:31
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.

1 participant