summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/include/buflib.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/firmware/include/buflib.h b/firmware/include/buflib.h
index 1bae3e7a3f..397d0f68de 100644
--- a/firmware/include/buflib.h
+++ b/firmware/include/buflib.h
@@ -146,7 +146,7 @@ struct buflib_callbacks {
146 * function. It's should be considered opaque, even though it is not yet 146 * function. It's should be considered opaque, even though it is not yet
147 * (that's to make inlining core_get_data() possible). The documentation 147 * (that's to make inlining core_get_data() possible). The documentation
148 * of the other functions will not describe the context 148 * of the other functions will not describe the context
149 * instance paramter further as it's obligatory. 149 * instance parameter further as it's obligatory.
150 * 150 *
151 * context: The new buflib instance to be initialized, allocated by the caller 151 * context: The new buflib instance to be initialized, allocated by the caller
152 * size: The size of the memory pool 152 * size: The size of the memory pool
@@ -221,7 +221,7 @@ int buflib_alloc_ex(struct buflib_context *ctx, size_t size, const char *name,
221 * this function. 221 * this function.
222 * 222 *
223 * Note that this might return many more bytes than buflib_available() or 223 * Note that this might return many more bytes than buflib_available() or
224 * buflib_allocatable() return, because it agressively compacts the pool 224 * buflib_allocatable() return, because it aggressively compacts the pool
225 * and even shrinks other allocations. However, do not depend on this behavior, 225 * and even shrinks other allocations. However, do not depend on this behavior,
226 * it may change. 226 * it may change.
227 * 227 *
@@ -286,7 +286,7 @@ int buflib_free(struct buflib_context *context, int handle);
286/** 286/**
287 * Moves the underlying buflib buffer up by size bytes (as much as 287 * Moves the underlying buflib buffer up by size bytes (as much as
288 * possible for size == 0) without moving the end. This effectively 288 * possible for size == 0) without moving the end. This effectively
289 * reduces the available space by taking away managable space from the 289 * reduces the available space by taking away manageable space from the
290 * front. This space is not available for new allocations anymore. 290 * front. This space is not available for new allocations anymore.
291 * 291 *
292 * To make space available in the front, everything is moved up. 292 * To make space available in the front, everything is moved up.
@@ -337,7 +337,7 @@ void buflib_print_allocs(struct buflib_context *ctx, void (*print)(int, const ch
337 337
338/** 338/**
339 * Prints an overview of all blocks in the buflib buffer, allocated 339 * Prints an overview of all blocks in the buflib buffer, allocated
340 * or unallocated, with the help pf the passted printer helper 340 * or unallocated, with the help of the passed printer helper
341 * 341 *
342 * This walks the entire buffer and prints unallocated space also. 342 * This walks the entire buffer and prints unallocated space also.
343 * The output is also different from buflib_print_allocs(). 343 * The output is also different from buflib_print_allocs().