diff options
author | Alexey Plotnik <odiszapc@gmail.com> | 2016-08-06 19:59:15 +1000 |
---|---|---|
committer | Fedor Indutny <fedor@indutny.com> | 2016-08-06 18:46:37 +0200 |
commit | c46bd437e2cec73c4f8691662aefcbe0a92d87d3 (patch) | |
tree | 0417028e45e46d20a75e486295086c246a07458f | |
parent | e68fc125b7cb69ec04db851e4715e778d92fd7d0 (diff) | |
download | uv_link_t-c46bd437e2cec73c4f8691662aefcbe0a92d87d3.tar.gz |
inlucde: add extern "C"
-rw-r--r-- | include/uv_link_t.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/uv_link_t.h b/include/uv_link_t.h index 9c5876d..833fc16 100644 --- a/include/uv_link_t.h +++ b/include/uv_link_t.h @@ -3,6 +3,10 @@ #include "uv.h" +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + typedef struct uv_link_s uv_link_t; typedef struct uv_link_methods_s uv_link_methods_t; typedef struct uv_link_source_s uv_link_source_t; @@ -187,4 +191,8 @@ void uv_link_default_read_cb_override(uv_link_t* link, ssize_t nread, const uv_buf_t* buf); +#ifdef __cplusplus +} +#endif /* __cplusplus */ + #endif /* INCLUDE_UV_LINK_H_ */ |