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
786c3aa1
Commit
786c3aa1
authored
Sep 23, 2016
by
Uwe Schulzweida
Browse files
Renamed gridID2Ptr() to grid_to_pointer().
parent
2df65ba7
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
src/cdi_att.c
View file @
786c3aa1
...
...
@@ -105,7 +105,7 @@ cdi_atts_t *cdi_get_attsp(int objID, int varID)
if
(
varID
==
CDI_GLOBAL
&&
reshGetTxCode
(
objID
)
==
GRID
)
{
grid_t
*
gridptr
=
grid
ID2Pt
r
(
objID
);
grid_t
*
gridptr
=
grid
_to_pointe
r
(
objID
);
attsp
=
&
gridptr
->
atts
;
}
else
if
(
varID
==
CDI_GLOBAL
&&
reshGetTxCode
(
objID
)
==
ZAXIS
)
...
...
src/grid.c
View file @
786c3aa1
This diff is collapsed.
Click to expand it.
src/grid.h
View file @
786c3aa1
...
...
@@ -114,7 +114,7 @@ struct grid_t {
void
grid_init
(
grid_t
*
gridptr
);
void
cdiGridTypeInit
(
grid_t
*
gridptr
,
int
gridtype
,
int
size
);
void
grid_free
(
grid_t
*
gridptr
);
grid_t
*
grid
ID2Pt
r
(
int
gridID
);
grid_t
*
grid
_to_pointe
r
(
int
gridID
);
extern
const
struct
gridVirtTable
cdiGridVtable
;
unsigned
cdiGridCount
(
void
);
...
...
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