Skip to content
GitLab
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
55300d90
Commit
55300d90
authored
Nov 21, 2015
by
Uwe Schulzweida
Browse files
delare cdi functions as extern C
parent
05e2739b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/cdi.h
View file @
55300d90
...
...
@@ -9,11 +9,12 @@
#include
<stdio.h>
#include
<sys/types.h>
/*
#ifdef __cplusplus
extern
"C"
{
#endif
*/
#define CDI_MAX_NAME 256
/* max length of a name */
#define CDI_UNDEFID -1
...
...
@@ -1188,15 +1189,13 @@ int subtypeInqAttribute(int subtypeID, int index, const char *key, int *outV
/* vlistInqVarSubtype: Return subtype ID for a given variable. */
int
vlistInqVarSubtype
(
int
vlistID
,
int
varID
);
void
gribapiLibraryVersion
(
int
*
major_version
,
int
*
minor_version
,
int
*
revision_version
);
/*
#if defined (__cplusplus)
}
#endif
*/
#endif
/* CDI_H_ */
/*
* Local Variables:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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