Skip to content
Commit 73a940e3 authored by Daniel Leung's avatar Daniel Leung Committed by Stephanos Ioannidis
Browse files

lib: os/cbprintf: make char[] work in C++ and tagged arguments



Strings in C++ are usually of type char[] instead of char*.
Therefore, this needs to be taken into account when doing
tagged arguments or else char[] would be tagged as simple
pointer. So fix this by adding a way to get the type of
elements in an array to determine if it is a char array.

Fixes #46761

Signed-off-by: default avatarDaniel Leung <daniel.leung@intel.com>
parent 2ddf2fa8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment