gattlib: added extern "C" {} around header

pull/14/head
Jonas Böer 2017-03-01 12:28:36 +01:00
parent 7417102e12
commit 1434b741ec
1 changed files with 8 additions and 0 deletions

View File

@ -24,6 +24,10 @@
#ifndef __GATTLIB_H__
#define __GATTLIB_H__
#ifdef __cplusplus
extern "C" {
#endif
#include <glib.h>
#include <stdint.h>
@ -125,4 +129,8 @@ int gattlib_uuid_to_string(const uuid_t *uuid, char *str, size_t n);
int gattlib_string_to_uuid(const char *str, size_t n, uuid_t *uuid);
int gattlib_uuid_cmp(const uuid_t *uuid1, const uuid_t *uuid2);
#ifdef __cplusplus
}
#endif
#endif