zephyr/lib
Mykyta Poturai 3afd9429c0 json: Fix alignment calculation for nested objects
Currently, json array macros are passing the outer "container" struct
to the Z_JSON_ELEMENT_DESCR macro, causing the alignment to be calculated
from the outer struct which may be incorrect. Fix this by using the
biggest shift from the nested objects to calculate the alignment as the
struct size is calculated based on the biggest alignment of it's members.

Signed-off-by: Mykyta Poturai <mykyta_poturai@epam.com>
2024-07-09 19:02:25 +02:00
..
acpi lib: acpi: update shell and test app with the modifed resource struct 2024-02-15 12:28:55 +01:00
cpp lib c/cpp: Move .ctor .init_array handling from C++ to kernel 2024-06-25 19:14:37 -04:00
crc lib: avoided increments/decrements with side effects 2024-06-21 08:48:15 -04:00
hash lib: hash: use new c++ Kconfig symbols 2023-07-26 14:53:51 +02:00
heap lib: added blanks between operators 2024-06-13 20:28:23 -04:00
libc lib/libc: select PICOLIBC_SUPPORTED if toolchain has it or module exists 2024-07-05 12:30:42 +02:00
mem_blocks lib: mem_block: move to own folder 2023-12-13 17:27:54 -05:00
open-amp driver: ram_console: leave one byte from the defined buffer size 2024-06-12 17:09:24 -05:00
os lib: os: mpsc_pbuf: Do not use sem when CONFIG_MULTITHREADING=n 2024-07-08 14:58:32 -04:00
posix Revert "posix: device_io: require a full libc for c89 functions" 2024-07-03 15:03:05 -04:00
runtime llvm: Add support for selecting runtime library 2023-08-03 19:35:11 +02:00
smf lib: smf: use while (true) in get_child_of for better clarity 2024-07-01 16:08:05 -04:00
utils json: Fix alignment calculation for nested objects 2024-07-09 19:02:25 +02:00
CMakeLists.txt lib posix: Allow building the POSIX_API library without the host libC 2023-12-28 09:58:23 -05:00
Kconfig lib: move utilities into own folder 2023-12-22 09:54:12 +01:00