- H5_VER_STRING defined from PACKAGE_VERSION as const char*
This commit is contained in:
2015-10-16 18:13:18 +02:00
parent 49460b62c3
commit 87fcc4930b
2 changed files with 14 additions and 4 deletions
+12 -1
View File
@@ -1,8 +1,19 @@
/*
Copyright (c) 2006-2015, The Regents of the University of California,
through Lawrence Berkeley National Laboratory (subject to receipt of any
required approvals from the U.S. Dept. of Energy) and the Paul Scherrer
Institut (Switzerland). All rights reserved.
License: see file COPYING in top level of source distribution.
*/
#include <stdlib.h>
#include <stdarg.h> /* va_arg - System dependent ?! */
#include <string.h>
#include <assert.h>
#include "config.h"
#include "h5core/h5.h"
#include "h5_hdf5_private.h"
@@ -15,7 +26,7 @@
int h5_initialized = 0;
h5_dta_types_t h5_dta_types; // type ids' for base & compound data types
int h5_myproc = 0; // proc id
const char* H5_VER_STRING = PACKAGE_VERSION;
/*
create several HDF5 types
*/
+2 -3
View File
@@ -51,9 +51,8 @@ extern "C" {
#define H5_STRING_T H5T_NATIVE_CHAR
#define H5_COMPOUND_T H5T_COMPOUND
#define H5_VER_STRING "2.0.0"
extern const char * const H5_O_MODES[];
extern const char* H5_VER_STRING;
extern const char* const H5_O_MODES[];
#ifdef WIN32
typedef __int64 int64_t;