summaryrefslogtreecommitdiff
path: root/src/upb_enum.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/upb_enum.h')
-rw-r--r--src/upb_enum.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/upb_enum.h b/src/upb_enum.h
index e43a203..9acc075 100644
--- a/src/upb_enum.h
+++ b/src/upb_enum.h
@@ -33,15 +33,6 @@ struct upb_enum_iton_entry {
struct upb_string *string;
};
-INLINE void upb_enum_ref(struct upb_enum *e) {
- if(upb_atomic_ref(&e->refcount)) upb_context_ref(e->context);
-}
-
-INLINE void upb_enum_unref(struct upb_enum *e) {
- if(upb_atomic_unref(&e->refcount)) upb_context_unref(e->context);
-}
-
-
/* Initializes and frees an enum, respectively. Caller retains ownership of
* ed, but it must outlive e. */
void upb_enum_init(struct upb_enum *e,
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback