Flipper Developer Docs
Toggle main menu visibility
Main Page
Related Pages
Data Structures
Data Structures
Data Structure Index
Data Fields
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
Files
File List
Globals
All
_
a
b
c
d
e
f
g
i
j
l
m
n
o
p
r
s
t
v
w
Functions
_
a
b
c
d
e
f
g
i
j
l
m
n
o
p
r
s
t
v
w
Variables
Typedefs
a
b
c
d
e
f
g
i
m
n
p
r
s
t
v
Enumerations
a
b
c
d
e
f
g
i
n
o
p
r
s
v
Enumerator
c
e
f
g
i
n
o
r
s
v
Macros
_
d
e
f
r
v
w
▼
Flipper Developer Docs
►
App Development
►
Developer Tools
►
Expansion Modules
►
File Formats
►
JavaScript
►
Miscellaneous
►
System Programming
►
Data Structures
▼
Files
▼
File List
►
applications
►
furi
▼
lib
►
bit_lib
►
ble_profile
►
datetime
►
digital_signal
►
drivers
►
flipper_application
►
flipper_format
►
FreeRTOS-glue
►
ibutton
►
ieee754_parse_wrap
►
infrared
►
lfrfid
►
mjs
►
music_worker
►
nfc
►
one_wire
►
print
►
pulse_reader
►
signal_reader
►
subghz
▼
toolbox
►
cli
►
protocols
►
pulse_protocols
►
settings_helpers
►
stream
►
tar
api_lock.h
args.h
►
bit_buffer.h
►
buffer_stream.h
►
compress.h
crc32_calc.h
dir_walk.h
float_tools.h
hex.h
keys_dict.h
level_duration.h
m_cstr_dup.h
manchester_decoder.h
manchester_encoder.h
md5_calc.h
name_generator.h
path.h
►
pipe.h
pretty_format.h
profiler.h
property.h
pulse_joiner.h
►
saved_struct.h
►
simple_array.h
►
strint.h
value_index.h
varint.h
version.h
►
u8g2
►
update_util
err.h
mbedtls_cfg.h
►
targets
►
Globals
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
Loading...
Searching...
No Matches
m_cstr_dup.h
1
#pragma once
2
#include <m-core.h>
3
4
#define M_INIT_DUP(a) ((a) = strdup(""))
5
#define M_INIT_SET_DUP(a, b) ((a) = strdup(b))
6
#define M_SET_DUP(a, b) (free((void*)a), (a) = strdup(b))
7
#define M_CLEAR_DUP(a) (free((void*)a))
8
9
#define M_CSTR_DUP_OPLIST \
10
(INIT(M_INIT_DUP), \
11
INIT_SET(M_INIT_SET_DUP), \
12
SET(M_SET_DUP), \
13
CLEAR(M_CLEAR_DUP), \
14
HASH(m_core_cstr_hash), \
15
EQUAL(M_CSTR_EQUAL), \
16
CMP(strcmp), \
17
TYPE(const char*))
lib
toolbox
m_cstr_dup.h
Generated by
1.12.0