summaryrefslogtreecommitdiff
path: root/pk.h.in
diff options
context:
space:
mode:
authorJonathan Bradley <jcb@pikum.xyz>2024-11-15 14:17:30 -0500
committerJonathan Bradley <jcb@pikum.xyz>2024-11-15 14:17:30 -0500
commit3beea930f372e85ff23092a70eb70619675a1371 (patch)
tree0977c2886a7d8d88b75fb555d5094d9e4befcf04 /pk.h.in
parenta9eb78c53613aa9836e4968843eb1a93c9a5bff2 (diff)
pk.h: typos
Diffstat (limited to 'pk.h.in')
-rw-r--r--pk.h.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/pk.h.in b/pk.h.in
index de28ee0..0115872 100644
--- a/pk.h.in
+++ b/pk.h.in
@@ -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.