|
Flipper Zero Firmware
|
Loading...
Searching...
No Matches
16#ifndef FURI_CONST_ASSIGN
17#define FURI_CONST_ASSIGN_(T, x, y) \
23#define FURI_CONST_ASSIGN_PTR(x, y) \
25 void** tmp_x = (void**)&x; \
29#define FURI_CONST_ASSIGN(x, y) \
32 signed char: FURI_CONST_ASSIGN_(signed char, x, y), \
33 unsigned char: FURI_CONST_ASSIGN_(unsigned char, x, y), \
34 short: FURI_CONST_ASSIGN_(short, x, y), \
35 unsigned short: FURI_CONST_ASSIGN_(unsigned short, x, y), \
36 int: FURI_CONST_ASSIGN_(int, x, y), \
37 unsigned: FURI_CONST_ASSIGN_(unsigned, x, y), \
38 long: FURI_CONST_ASSIGN_(long, x, y), \
39 unsigned long: FURI_CONST_ASSIGN_(unsigned long, x, y), \
40 long long: FURI_CONST_ASSIGN_(long long, x, y), \
41 unsigned long long: FURI_CONST_ASSIGN_(unsigned long long, x, y), \
42 float: FURI_CONST_ASSIGN_(float, x, y), \
43 double: FURI_CONST_ASSIGN_(double, x, y), \
44 long double: FURI_CONST_ASSIGN_(long double, x, y))