1
0
mirror of https://github.com/wolfpld/tracy synced 2025-04-29 04:23:51 +00:00

Add extern "C" to ini.h.

This commit is contained in:
Bartosz Taudul 2023-05-01 15:13:00 +02:00
parent 331c2bd7c0
commit efce727ad4
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -10,6 +10,10 @@
#define INI_VERSION "0.1.1"
#if defined(__cplusplus)
extern "C" {
#endif
typedef struct ini_t ini_t;
ini_t* ini_load(const char *filename);
@ -17,4 +21,8 @@ void ini_free(ini_t *ini);
const char* ini_get(ini_t *ini, const char *section, const char *key);
int ini_sget(ini_t *ini, const char *section, const char *key, const char *scanfmt, void *dst);
#if defined(__cplusplus)
}
#endif
#endif