summaryrefslogtreecommitdiff
path: root/upb
diff options
context:
space:
mode:
authorJoshua Haberman <jhaberman@gmail.com>2011-09-04 23:05:30 -0700
committerJoshua Haberman <jhaberman@gmail.com>2011-09-04 23:05:30 -0700
commit20548539644cc4729b7e18ba2eefbf1956752abf (patch)
tree31d109a39075171f6217bd1cfdba03696d0cf610 /upb
parentf226554fa5b64c2a152f39e52fd4a56acc06f527 (diff)
Header tweaking.
Diffstat (limited to 'upb')
-rw-r--r--upb/def.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/upb/def.h b/upb/def.h
index f6af798..93c0d7d 100644
--- a/upb/def.h
+++ b/upb/def.h
@@ -20,14 +20,14 @@
* not be used for any purpose except to set its properties (it can't be
* used to parse anything, create any messages in memory, etc).
*
- * 2. IMMUTABLE: after being added to a symtab (which links the defs together)
- * the defs become thread-safe and immutable. Programs may only access defs
- * through a CONST POINTER during this stage -- upb_symtab will help you out
- * with this requirement by only vending const pointers, but you need to
- * make sure not to use any non-const pointers you still have sitting
- * around. In practice this means that you may not call any setters on the
- * defs (or functions that themselves call the setters). If you want to
- * modify an existing immutable def, copy it with upb_*_dup(), modify the
+ * 2. FINALIZED: after being added to a symtab (which links the defs together)
+ * the defs become finalized (thread-safe and immutable). Programs may only
+ * access defs through a CONST POINTER during this stage -- upb_symtab will
+ * help you out with this requirement by only vending const pointers, but
+ * you need to make sure not to use any non-const pointers you still have
+ * sitting around. In practice this means that you may not call any setters
+ * on the defs (or functions that themselves call the setters). If you want
+ * to modify an existing immutable def, copy it with upb_*_dup(), modify the
* copy, and add the modified def to the symtab (replacing the existing
* def).
*
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback