mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-27 07:30:33 +08:00
99eef24bc2
- Fix NCF-157 to modify DAP code to support partial variable retrieval. - Fix of NCF-154 to solve problem of ncgen improperly processing data lists for variables of size greater than 2**18 bytes. - Fix ncgen processing of char variables that have multiple unlimited dimensions. - Partly fix Jira issue: NCF-145 (vlen issues). - Benchmark program nc_test4/tst_ar4_*) requires arguments and should only be invoked inside a shell script; fixed so that they terminate cleanly if invoked with no arguments. - Fix the Doxygen processing so it will work with make distcheck. - Begin switchover to using an alternative to ncio. - Begin support for in-memory (diskless) files.
36 lines
1.2 KiB
C
36 lines
1.2 KiB
C
/*********************************************************************
|
|
* Copyright 2009, UCAR/Unidata
|
|
* See netcdf/COPYRIGHT file for copying and redistribution conditions.
|
|
*********************************************************************/
|
|
/* $Id: generr.h,v 1.2 2010/05/24 19:59:57 dmh Exp $ */
|
|
/* $Header: /upc/share/CVS/netcdf-3/ncgen/generr.h,v 1.2 2010/05/24 19:59:57 dmh Exp $ */
|
|
|
|
#ifndef GENERR_H
|
|
#define GENERR_H
|
|
|
|
extern int error_count;
|
|
|
|
#ifndef NO_STDARG
|
|
#define vastart(argv,fmt) va_start(argv,fmt)
|
|
#else
|
|
#define vastart(argv,fmt) va_start(argv)
|
|
#endif
|
|
|
|
#ifndef NO_STDARG
|
|
#include <stdarg.h>
|
|
extern void vderror(const char *fmt, va_list argv);
|
|
extern void derror(const char *fmt, ...);
|
|
extern int panic(const char* fmt, ...);
|
|
extern void nprintf(char* buffer, size_t size, const char *fmt, ...);
|
|
#else
|
|
#include <varargs.h>
|
|
/* Technically illegal; va_alist should be only arg */
|
|
extern void vderror(fmt,va_alist) const char* fmt; va_dcl;
|
|
extern void derror(fmt,va_alist) const char* fmt; va_dcl;
|
|
extern void panic(fmt,va_alist) const char* fmt; va_dcl;
|
|
extern void nprintf(buffer,size,fmt)
|
|
char* buffer; size_t size; const char* fmt; va_dcl;
|
|
#endif
|
|
|
|
#endif /*GENERR_H*/
|