commit aee232430128c044aca83d8b0dc3fbfbe908c911
parent 3aa249c05f42b65845c895b21b37d580b97a2ad9
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Thu, 8 Sep 2022 15:40:36 +0200
Make the public header compatible with C++ compilation
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/sars.h b/src/sars.h
@@ -63,6 +63,8 @@ static const struct sars_band SARS_BAND_NULL = SARS_BAND_NULL__;
/* Forward declaration of opaque data types */
struct sars;
+BEGIN_DECLS
+
/*******************************************************************************
* Star-AeRoSol API
******************************************************************************/
@@ -138,4 +140,6 @@ sars_band_get_ks(const struct sars_band* band, const size_t inode)
return band->k_list[inode*2 + 1];
}
+END_DECLS
+
#endif /* SARS_H */