libvers.c

来自「一个用来实现偏微分方程中网格的计算库」· C语言 代码 · 共 28 行

C
28
字号
/* *	Copyright 1996, University Corporation for Atmospheric Research *      See netcdf/COPYRIGHT file for copying and redistribution conditions. *//* $Id: libvers.c 2501 2007-11-20 02:33:29Z benkirk $ */#include <config.h>#include "netcdf.h"/* * A version string. This whole function is not needed in netCDF-4, * which has it's own version of this function. */#ifndef USE_NETCDF4#define SKIP_LEADING_GARBAGE 33	/* # of chars prior to the actual version */#define XSTRING(x)	#x#define STRING(x)	XSTRING(x)static const char nc_libvers[] =	"\044Id: \100(#) netcdf library version " STRING(VERSION) " of "__DATE__" "__TIME__" $";const char *nc_inq_libvers(void){	return &nc_libvers[SKIP_LEADING_GARBAGE];}#endif /* USE_NETCDF4*/

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?