Commit eded9d81 authored by Jonathan Jenkins's avatar Jonathan Jenkins

support #include'ing from c++ compiles

parent 44f51aff
...@@ -7,6 +7,10 @@ ...@@ -7,6 +7,10 @@
#ifndef __MARGO #ifndef __MARGO
#define __MARGO #define __MARGO
#ifdef __cplusplus
extern "C" {
#endif
#include <mercury_bulk.h> #include <mercury_bulk.h>
#include <mercury.h> #include <mercury.h>
#include <mercury_macros.h> #include <mercury_macros.h>
...@@ -115,4 +119,8 @@ hg_return_t __name##_handler(hg_handle_t handle) { \ ...@@ -115,4 +119,8 @@ hg_return_t __name##_handler(hg_handle_t handle) { \
*/ */
#define DECLARE_ARGO_RPC_HANDLER(__name) hg_return_t __name##_handler(hg_handle_t handle); #define DECLARE_ARGO_RPC_HANDLER(__name) hg_return_t __name##_handler(hg_handle_t handle);
#ifdef __cplusplus
}
#endif
#endif /* __MARGO */ #endif /* __MARGO */
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