Flipper Developer Docs
Loading...
Searching...
No Matches
str_buffer.h
Go to the documentation of this file.
1
8
#pragma once
9
10
#include <furi.h>
11
12
#ifdef __cplusplus
13
extern
"C"
{
14
#endif
15
22
typedef
struct
{
23
char
** owned_strings;
24
size_t
n_owned_strings;
25
}
StrBuffer
;
26
36
const
char
*
str_buffer_make_owned_clone
(
StrBuffer
* buffer,
const
char
* str);
37
43
void
str_buffer_clear_all_clones
(
StrBuffer
* buffer);
44
45
#ifdef __cplusplus
46
}
47
#endif
str_buffer_clear_all_clones
void str_buffer_clear_all_clones(StrBuffer *buffer)
Clears all owned duplicates.
Definition
str_buffer.c:12
str_buffer_make_owned_clone
const char * str_buffer_make_owned_clone(StrBuffer *buffer, const char *str)
Makes a owned duplicate of the provided string.
Definition
str_buffer.c:3
StrBuffer
StrBuffer instance.
Definition
str_buffer.h:22
lib
toolbox
str_buffer.h
Generated by
1.12.0