nuttx/include
Xiang Xiao 2a6454438d include/macro.h: fix REVERSE_ARG/FOREACH_ARG for empty args in C++
C++ strict mode drops the GNU ", ##__VA_ARGS__" comma elision, so
GET_ARG_COUNT() and REVERSE_ARG() misselect their dispatch entry with
zero varargs. Centralize the empty-argument handling in GET_ARG_COUNT
(via __VA_OPT__ for C++) and make REVERSE_ARG and FOREACH_ARG dispatch
through CONCATENATE(prefix, GET_ARG_COUNT(...)), removing the two
duplicated 33-entry selector lists.

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2026-09-01 12:22:45 +08:00
..
android
arpa
crypto
cxx
net
netinet
netpacket
nuttx include/macro.h: fix REVERSE_ARG/FOREACH_ARG for empty args in C++ 2026-09-01 12:22:45 +08:00
ssp
sys
.gitignore
aio.h
alloca.h
assert.h
byteswap.h
ctype.h
debug.h
dirent.h
dlfcn.h
dsp.h
dspb16.h
elf.h
elf32.h
elf64.h
endian.h
err.h
errno.h
execinfo.h
fcntl.h
fixedmath.h
fnmatch.h
ftw.h
gcov.h
getopt.h
glob.h
grp.h
hex2bin.h
iconv.h
ifaddrs.h
imx_container.h
inttypes.h
iso646.h
langinfo.h
libgen.h
libintl.h
limits.h
locale.h
lzf.h
malloc.h
mqueue.h
netdb.h
nl_types.h
nxflat.h
obstack.h
poll.h
pthread.h
pty.h
pwd.h
regex.h
resolv.h
sched.h
search.h
semaphore.h
shadow.h
signal.h
spawn.h
stdbool.h
stddef.h
stdint.h
stdio.h
stdlib.h
stdnoreturn.h
string.h
strings.h
syscall.h
syslog.h
termios.h
threads.h
time.h
ulimit.h
unistd.h
utime.h
uuid.h
wait.h
wchar.h
wctype.h