diff options
author | Josh Haberman <jhaberman@gmail.com> | 2016-12-07 17:02:48 -0800 |
---|---|---|
committer | Josh Haberman <jhaberman@gmail.com> | 2016-12-07 17:02:48 -0800 |
commit | 2b77da3da8234484ebc099c560671ea21ab7181b (patch) | |
tree | ad449b1e325cef86eeb94c8500480fd088a020f1 /upb/msg.h | |
parent | ba4e23f1702996336f580312dcdc67d55ed29ae7 (diff) |
Update for final PR comments.
Diffstat (limited to 'upb/msg.h')
-rw-r--r-- | upb/msg.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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, |