aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/support/avl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/lib/support/avl.c')
-rw-r--r--src/core/lib/support/avl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/lib/support/avl.c b/src/core/lib/support/avl.c
index 8d3ce23e6c..ceded9d266 100644
--- a/src/core/lib/support/avl.c
+++ b/src/core/lib/support/avl.c
@@ -286,3 +286,5 @@ gpr_avl gpr_avl_ref(gpr_avl avl) {
}
void gpr_avl_unref(gpr_avl avl) { unref_node(avl.vtable, avl.root); }
+
+int gpr_avl_is_empty(gpr_avl avl) { return avl.root == NULL; }