diff options
author | 2016-01-29 07:58:22 -0800 | |
---|---|---|
committer | 2016-01-29 07:58:22 -0800 | |
commit | 9b42637047e640e1a139ab5bfd04ef025f7879b5 (patch) | |
tree | 474b04ab5af1a90b08035e3d1de0ad6b5d002888 /include/grpc/support/avl.h | |
parent | 50d012bb82cec63d87e4bbef0274eef10bcbdf25 (diff) |
Add {GPR,GRPC,CENSUS}_API tags to public functions
Diffstat (limited to 'include/grpc/support/avl.h')
-rw-r--r-- | include/grpc/support/avl.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/grpc/support/avl.h b/include/grpc/support/avl.h index d462f52bfe..f54caeb2d0 100644 --- a/include/grpc/support/avl.h +++ b/include/grpc/support/avl.h @@ -69,23 +69,23 @@ typedef struct gpr_avl { } gpr_avl; /** create an immutable AVL tree */ -gpr_avl gpr_avl_create(const gpr_avl_vtable *vtable); +GPR_API gpr_avl gpr_avl_create(const gpr_avl_vtable *vtable); /** add a reference to an existing tree - returns the tree as a convenience */ -gpr_avl gpr_avl_ref(gpr_avl avl); +GPR_API gpr_avl gpr_avl_ref(gpr_avl avl); /** remove a reference to a tree - destroying it if there are no references left */ -void gpr_avl_unref(gpr_avl avl); +GPR_API void gpr_avl_unref(gpr_avl avl); /** return a new tree with (key, value) added to avl. implicitly unrefs avl to allow easy chaining. if key exists in avl, the new tree's key entry updated (i.e. a duplicate is not created) */ -gpr_avl gpr_avl_add(gpr_avl avl, void *key, void *value); +GPR_API gpr_avl gpr_avl_add(gpr_avl avl, void *key, void *value); /** return a new tree with key deleted */ -gpr_avl gpr_avl_remove(gpr_avl avl, void *key); +GPR_API gpr_avl gpr_avl_remove(gpr_avl avl, void *key); /** lookup key, and return the associated value. does not mutate avl. returns NULL if key is not found. */ -void *gpr_avl_get(gpr_avl avl, void *key); +GPR_API void *gpr_avl_get(gpr_avl avl, void *key); #endif |