Commit 65ba1e97 authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Rename function to clarify purpose.

parent 78970041
......@@ -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 += vlistVarGetPackSize(p, varID, context);
return txsize;
}
......
......@@ -2109,7 +2109,7 @@ enum {
vlistvar_ndbls = 3,
};
int vlistVarGetSize(vlist_t *p, int varID, void *context)
int vlistVarGetPackSize(vlist_t *p, int varID, void *context)
{
var_t *var = p->vars + varID;
int varsize = serializeGetSize(vlistvar_nints, DATATYPE_INT, context)
......
......@@ -9,7 +9,7 @@
#include "vlist.h"
#endif
int vlistVarGetSize(vlist_t *p, int varID, void *context);
int vlistVarGetPackSize(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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment