Merge pull request #14 from kinemic/master

gattlib: added extern "C" {} around header
pull/13/head
Olivier Martin 2017-03-01 12:41:08 +01:00 committed by GitHub
commit 15ab7a84d2
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