summaryrefslogtreecommitdiff
path: root/upb/msg.h
diff options
context:
space:
mode:
authorJosh Haberman <jhaberman@gmail.com>2016-12-07 17:02:48 -0800
committerJosh Haberman <jhaberman@gmail.com>2016-12-07 17:02:48 -0800
commit2b77da3da8234484ebc099c560671ea21ab7181b (patch)
treead449b1e325cef86eeb94c8500480fd088a020f1 /upb/msg.h
parentba4e23f1702996336f580312dcdc67d55ed29ae7 (diff)
Update for final PR comments.
Diffstat (limited to 'upb/msg.h')
-rw-r--r--upb/msg.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/upb/msg.h b/upb/msg.h
index 12681a8..11f0d5c 100644
--- a/upb/msg.h
+++ b/upb/msg.h
@@ -109,7 +109,10 @@ const upb_symtab *upb_msgfactory_symtab(const upb_msgfactory *f);
* - m is in upb_msgfactory_symtab(f)
* - upb_msgdef_mapentry(m) == false (since map messages can't have layouts).
*
- * The returned objects will live for as long as the msgfactory does. */
+ * The returned objects will live for as long as the msgfactory does.
+ *
+ * TODO(haberman): consider making this thread-safe and take a const
+ * upb_msgfactory. */
const upb_msglayout *upb_msgfactory_getlayout(upb_msgfactory *f,
const upb_msgdef *m);
const upb_handlers *upb_msgfactory_getmergehandlers(upb_msgfactory *f,
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback