1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
|
/*********************************************************************
* Copyright 2018, UCAR/Unidata
* See netcdf/COPYRIGHT file for copying and redistribution conditions.
* $Header: /upc/share/CVS/netcdf-3/nctest/val.h,v 1.7 2006/10/31 16:23:51 ed Exp $
*********************************************************************/
#include <config.h>
#undef PROTO
#ifndef NO_HAVE_PROTOTYPES
# define PROTO(x) x
#else
# define PROTO(x) ()
#endif
#ifdef __cplusplus
extern "C" {
#endif
/* fill typed value block with values of specified type */
extern void val_fill PROTO((
nc_type ,
long,
void *
));
/* fill typed value block with zeros of specified type */
extern void val_fill_zero PROTO((
nc_type ,
long,
void *
));
/*
* compare two typed value blocks, return 0 if equal, 1+n otherwise,
* where n is the index of the first differing element.
*/
extern int val_cmp PROTO((
nc_type ,
long,
void *,
void *
));
/* print typed value block with values of specified type */
extern void val_out PROTO((
nc_type ,
long,
void *
));
#ifdef __cplusplus
}
#endif
|