Commit 43bbdcc0 authored by Slava Monich's avatar Slava Monich

[core] Add G_BEGIN_DECLS and G_END_DECLS to public headers. JB#48413

parent ec96e233
/*
* Copyright (C) 2018 Jolla Ltd.
* Copyright (C) 2018 Slava Monich <slava.monich@jolla.com>
* Copyright (C) 2018-2019 Jolla Ltd.
* Copyright (C) 2018-2019 Slava Monich <slava.monich@jolla.com>
*
* You may use this file under the terms of BSD license as follows:
*
......@@ -35,6 +35,8 @@
#include "nfc_types.h"
G_BEGIN_DECLS
typedef
guint16
(*NfcCrc16Func)(
......@@ -87,6 +89,8 @@ nfc_crc_b_check_tail(
const guint8* data,
gsize len);
G_END_DECLS
#endif /* NFC_CRC_H */
/*
......
......@@ -37,6 +37,8 @@
/* Type 2 tag */
G_BEGIN_DECLS
typedef struct nfc_tag_t2_priv NfcTagType2Priv;
typedef enum nfc_tag_t2_flags {
......@@ -189,6 +191,8 @@ nfc_tag_t2_write_data_seq(
GDestroyNotify destroy,
void* user_data); /* Since 1.0.17 */
G_END_DECLS
#endif /* NFC_TAG_T2_H */
/*
......
......@@ -39,6 +39,8 @@
/* Since 1.0.20 */
G_BEGIN_DECLS
typedef struct nfc_tag_t4_priv NfcTagType4Priv;
struct nfc_tag_t4 {
......@@ -104,6 +106,8 @@ nfc_isodep_transmit(
GDestroyNotify destroy,
void* user_data);
G_END_DECLS
#endif /* NFC_TAG_T4_H */
/*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment