diff options
Diffstat (limited to 'include/grpc/support/avl.h')
-rw-r--r-- | include/grpc/support/avl.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/grpc/support/avl.h b/include/grpc/support/avl.h index d53ff5d904..d8a5efd2ad 100644 --- a/include/grpc/support/avl.h +++ b/include/grpc/support/avl.h @@ -21,6 +21,10 @@ #include <grpc/support/sync.h> +#ifdef __cplusplus +extern "C" { +#endif + /** internal node of an AVL tree */ typedef struct gpr_avl_node { gpr_refcount refs; @@ -91,4 +95,8 @@ GPRAPI int gpr_avl_maybe_get(gpr_avl avl, void *key, void **value, /** Return 1 if avl is empty, 0 otherwise */ GPRAPI int gpr_avl_is_empty(gpr_avl avl); +#ifdef __cplusplus +} +#endif + #endif /* GRPC_SUPPORT_AVL_H */ |