diff options
Diffstat (limited to 'firmware/include/buflib.h')
-rw-r--r-- | firmware/include/buflib.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/firmware/include/buflib.h b/firmware/include/buflib.h index 30484431f8..e912429b1f 100644 --- a/firmware/include/buflib.h +++ b/firmware/include/buflib.h | |||
@@ -303,12 +303,14 @@ void buflib_buffer_in(struct buflib_context *ctx, int size); | |||
303 | /* debugging */ | 303 | /* debugging */ |
304 | 304 | ||
305 | /** | 305 | /** |
306 | * Returns the name, as given to core_alloc() and core_allloc_ex(), of the | 306 | * Returns the name, as given to buflib_alloc() and buflib_allloc_ex(), of the |
307 | * allocation associated with the given handle | 307 | * allocation associated with the given handle. As naming allocations |
308 | * is optional, there might be no name associated. | ||
308 | * | 309 | * |
309 | * handle: The handle indicating the allocation | 310 | * handle: The handle indicating the allocation |
310 | * | 311 | * |
311 | * Returns: A pointer to the string identifier of the allocation | 312 | * Returns: A pointer to the string identifier of the allocation, or NULL |
313 | * if none was specified with buflib_alloc_ex/(. | ||
312 | */ | 314 | */ |
313 | const char* buflib_get_name(struct buflib_context *ctx, int handle); | 315 | const char* buflib_get_name(struct buflib_context *ctx, int handle); |
314 | 316 | ||