Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
libcdi
Commits
b3675328
Commit
b3675328
authored
Nov 30, 2008
by
Uwe Schulzweida
Browse files
No commit message
No commit message
parent
2a57a3a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/cdf.c
View file @
b3675328
...
...
@@ -23,15 +23,23 @@ const char *cdfLibraryVersion(void)
#endif
}
int
H5get_libversion
(
unsigned
*
majnum
,
unsigned
*
minnum
,
unsigned
*
relnum
);
#if (defined (HAVE_LIBNETCDF) && defined(NC_NETCDF4)) || defined(HAVE_LIBHDF5)
#if defined(__cplusplus)
extern
"C"
{
#endif
int
H5get_libversion
(
unsigned
*
,
unsigned
*
,
unsigned
*
);
#if defined(__cplusplus)
}
#endif
#endif
const
char
*
hdfLibraryVersion
(
void
)
{
#if defined (HAVE_LIBNETCDF) && defined(NC_NETCDF4)
#if
(
defined (HAVE_LIBNETCDF) && defined(NC_NETCDF4)
) || defined(HAVE_LIBHDF5)
static
char
hdf_libvers
[
256
];
unsigned
majnum
,
minnum
,
relnum
;
(
void
)
H5get_libversion
(
&
majnum
,
&
minnum
,
&
relnum
);
H5get_libversion
(
&
majnum
,
&
minnum
,
&
relnum
);
sprintf
(
hdf_libvers
,
"%u.%u.%u"
,
majnum
,
minnum
,
relnum
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment