mirror of https://github.com/labapart/gattlib
gattlib: added extern "C" {} around header
parent
7417102e12
commit
1434b741ec
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue