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
65ba1e97
Commit
65ba1e97
authored
Nov 19, 2013
by
Thomas Jahns
🤸
Browse files
Rename function to clarify purpose.
parent
78970041
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/vlist.c
View file @
65ba1e97
...
...
@@ -1712,7 +1712,7 @@ int vlistGetSizeP ( void * vlistptr, void *context)
txsize
=
serializeGetSize
(
vlist_nints
,
DATATYPE_INT
,
context
);
txsize
+=
vlistAttsGetSize
(
p
,
CDI_GLOBAL
,
context
);
for
(
varID
=
0
;
varID
<
p
->
nvars
;
varID
++
)
txsize
+=
vlistVarGetSize
(
p
,
varID
,
context
);
txsize
+=
vlistVarGet
Pack
Size
(
p
,
varID
,
context
);
return
txsize
;
}
...
...
src/vlist_var.c
View file @
65ba1e97
...
...
@@ -2109,7 +2109,7 @@ enum {
vlistvar_ndbls
=
3
,
};
int
vlistVarGetSize
(
vlist_t
*
p
,
int
varID
,
void
*
context
)
int
vlistVarGet
Pack
Size
(
vlist_t
*
p
,
int
varID
,
void
*
context
)
{
var_t
*
var
=
p
->
vars
+
varID
;
int
varsize
=
serializeGetSize
(
vlistvar_nints
,
DATATYPE_INT
,
context
)
...
...
src/vlist_var.h
View file @
65ba1e97
...
...
@@ -9,7 +9,7 @@
#include
"vlist.h"
#endif
int
vlistVarGetSize
(
vlist_t
*
p
,
int
varID
,
void
*
context
);
int
vlistVarGet
Pack
Size
(
vlist_t
*
p
,
int
varID
,
void
*
context
);
void
vlistVarPack
(
vlist_t
*
p
,
int
varID
,
char
*
buffer
,
int
bufferSize
,
int
*
pos
,
void
*
context
);
void
vlistVarUnpack
(
int
vlistID
,
...
...
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