summaryrefslogtreecommitdiff
path: root/upb_struct.h
diff options
context:
space:
mode:
authorJoshua Haberman <joshua@reverberate.org>2009-06-03 22:06:24 -0700
committerJoshua Haberman <joshua@reverberate.org>2009-06-03 22:06:24 -0700
commitd1f78c88faafea7e672c7c45e20f6f040942a92a (patch)
tree67d6f959815b464a241d5c6b7c7df1a6755e4f55 /upb_struct.h
parent0c80c384756a48d5f731eeafa62b6cd5f3861749 (diff)
A bunch more work, a fast table for field lookup.
Diffstat (limited to 'upb_struct.h')
-rw-r--r--upb_struct.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/upb_struct.h b/upb_struct.h
index a64b3d4..7d5c219 100644
--- a/upb_struct.h
+++ b/upb_struct.h
@@ -57,8 +57,8 @@ struct upb_struct_definition {
};
/* While these are written to be as fast as possible, it will still be faster
- * cache the results of this lookup if possible. These return NULL if no such
- * field is found. */
+ * to cache the results of this lookup if possible. These return NULL if no
+ * such field is found. */
struct upb_struct_field *upb_struct_find_field_by_name(
struct upb_struct_definition *d, char *name);
struct upb_struct_field *upb_struct_find_field_by_number(
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback