Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
libcdi
Commits
d8322413
Commit
d8322413
authored
Mar 08, 2017
by
Thomas Jahns
🤸
Browse files
Optimize struct layout.
parent
e1380948
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/grid.h
View file @
d8322413
...
...
@@ -83,6 +83,7 @@ struct grid_t {
char
mapping
[
CDI_MAX_NAME
];
char
*
name
;
int
self
;
int
size
;
int
type
;
/* grid type */
int
prec
;
/* grid precision */
int
proj
;
/* grid projection */
...
...
@@ -99,7 +100,6 @@ struct grid_t {
unsigned
char
uuid
[
CDI_UUID_SIZE
];
/* uuid for grid reference */
int
*
rowlon
;
int
nrowlon
;
int
size
;
int
np
;
/* number of parallels between a pole and the equator */
signed
char
isCyclic
;
/* three possible states:
* -1 if unknown,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment