mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 04:25:35 +08:00
[g2clib] Make C functions available in C++ modules
This commit is contained in:
9
src/plugins/weatherdata/gfs/g2clib/grib2.h
Executable file → Normal file
9
src/plugins/weatherdata/gfs/g2clib/grib2.h
Executable file → Normal 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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user