This is only necessary if read by a C++ compiler.
This commit is contained in:
parent
47271ae5ff
commit
4dd6b1ba06
@ -18,7 +18,9 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Initialize a local DHT node.
|
* @brief Initialize a local DHT node.
|
||||||
@ -67,4 +69,6 @@ int NeoComm_export_nodes(const char *node_file);
|
|||||||
*/
|
*/
|
||||||
const char *NeoComm_get_last_error();
|
const char *NeoComm_get_last_error();
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user