summaryrefslogtreecommitdiff
path: root/src/upb_table.h
diff options
context:
space:
mode:
authorJoshua Haberman <joshua@reverberate.org>2009-12-22 17:08:14 -0800
committerJoshua Haberman <joshua@reverberate.org>2009-12-22 17:08:14 -0800
commitf49f7f94c10de1ab39bd045e4ff6bb281541b51f (patch)
treeeede24aebb884f1a11aaa31f66302d430331cc86 /src/upb_table.h
parenta230cf5053ce553d92ba5efb51324149fae201b6 (diff)
More progress, upb_data and upb_def compile (but are incomplete).
Diffstat (limited to 'src/upb_table.h')
-rw-r--r--src/upb_table.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/upb_table.h b/src/upb_table.h
index 8250354..9a49b8b 100644
--- a/src/upb_table.h
+++ b/src/upb_table.h
@@ -39,7 +39,7 @@ struct upb_inttable_entry {
// performance by letting us compare hashes before comparing lengths or the
// strings themselves.
struct upb_strtable_entry {
- struct upb_string *key; // We own a frozen ref.
+ upb_string *key; // We own a frozen ref.
uint32_t next; // Internal chaining.
};
@@ -117,7 +117,7 @@ INLINE void *upb_inttable_lookup(struct upb_inttable *t, uint32_t key) {
return upb_inttable_fast_lookup(t, key, t->t.entry_size);
}
-void *upb_strtable_lookup(struct upb_strtable *t, struct upb_string *key);
+void *upb_strtable_lookup(struct upb_strtable *t, upb_string *key);
/* Provides iteration over the table. The order in which the entries are
* returned is undefined. Insertions invalidate iterators. The _next
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback