This is only necessary if read by a C++ compiler.

This commit is contained in:
Nicolás Ortega Froysa 2017-09-20 08:35:23 +02:00
parent 47271ae5ff
commit 4dd6b1ba06
No known key found for this signature in database
GPG Key ID: FEC70E3BAE2E69BF

View File

@ -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