summaryrefslogtreecommitdiff
path: root/src/upb.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/upb.h')
-rw-r--r--src/upb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/upb.h b/src/upb.h
index 3a9dd61..d3e7b34 100644
--- a/src/upb.h
+++ b/src/upb.h
@@ -162,7 +162,7 @@ typedef struct {
upb_bytesrc *bytesrc;
upb_msg *msg;
upb_array *arr;
- upb_atomic_refcount_t *refcount;
+ upb_atomic_t *refcount;
upb_fielddef *fielddef;
void *_void;
} val;
@@ -204,7 +204,7 @@ UPB_VALUE_ACCESSORS(fielddef, fielddef, upb_fielddef*, UPB_VALUETYPE_FIELDDEF);
extern upb_value UPB_NO_VALUE;
-INLINE upb_atomic_refcount_t *upb_value_getrefcount(upb_value val) {
+INLINE upb_atomic_t *upb_value_getrefcount(upb_value val) {
assert(val.type == UPB_TYPE(MESSAGE) ||
val.type == UPB_TYPE(STRING) ||
val.type == UPB_VALUETYPE_ARRAY);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback