diff options
Diffstat (limited to 'pk.h.in')
| -rw-r--r-- | pk.h.in | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -73,7 +73,7 @@ * pkstr.h: def PK_IMPL_STR before including pk.h to enable ad-hoc. * * Provides a simple string structure, allowing the user to track the string -* length and reserved buffer length. Limites max string length to uint32_t max +* length and reserved buffer length. Limits max string length to uint32_t max * size, which is roughly 4GB. * * Tip: set reserved to 0 for compile-time strings as well as for strings alloc'd @@ -99,8 +99,8 @@ * 255 is to be observed for each. The number of mgrs is stored as a uint64_t. * * Note that PK_EV_GROW_RATIO is used in two scenarios: -* 1. when registering an ev on a full mgr -* 2. when registering a cb on a full ev +* 1. When registering an ev on a full mgr. +* 2. When registering a cb on a full ev. * The grow ratio is applied to the ev count and cb count in their respective * scenarios. This causes a new allocation for the entire mgr. The existing * mgr and its evs and cbs are copied to the new larger buffer space. |
