[g2clib] Make C functions available in C++ modules

This commit is contained in:
Roland Winklmeier
2016-01-11 15:53:46 +01:00
parent 3fd9d1bffe
commit 22ef3e81aa

9
src/plugins/weatherdata/gfs/g2clib/grib2.h Executable file → Normal file
View File

@@ -1,5 +1,10 @@
#ifndef _grib2_H
#define _grib2_H
#ifdef __cplusplus
extern "C" {
#endif
#include<stdio.h>
#define G2_VERSION "g2clib-1.5.0"
@@ -245,5 +250,9 @@ int pack_gp(g2int *, g2int *, g2int *,
g2int *, g2int *, g2int *, g2int *, g2int *,
g2int *, g2int *, g2int *);
#ifdef __cplusplus
}
#endif
#endif /* _grib2_H */