Define macro for NIL string value in ncdump/dumplib.h

This commit is contained in:
Russ Rew 2013-07-10 20:56:24 +00:00
parent 98a469b17a
commit 0fd1f0dde1

View File

@ -40,6 +40,12 @@ extern char float_att_fmt[];
extern char float_attx_fmt[];
extern char double_att_fmt[];
/* Display for netCDF-4 and HDF5 string values representing NULL
* pointers rather than empty strings. HDF5 distinguishes these two
* kinds of string values so NULL pointers can be used as fill values
* for lists of strings that might include empty strings. */
#define NIL_STRING "NIL"
#ifdef __cplusplus
extern "C" {
#endif