tools/nxstyle: allow CPython API identifiers

CPython exposes mixed-case PyMem_* and PyOS_* names that applications cannot rename.

Signed-off-by: raiden00pl <raiden00@railab.me>
This commit is contained in:
raiden00pl 2026-08-22 14:03:00 +02:00 committed by Xiang Xiao
parent 1eb4ec6d49
commit 90b71fb883

View file

@ -218,6 +218,8 @@ static const char *g_white_prefix[] =
"ub32", /* Ref: include/fixedmath.h */
"lua_", /* Ref: apps/interpreters/lua/lua-5.x.x/src/lua.h */
"luaL_", /* Ref: apps/interpreters/lua/lua-5.x.x/src/lauxlib.h */
"PyMem_", /* Ref: apps/interpreters/python */
"PyOS_", /* Ref: apps/interpreters/python */
"Ba", /* Ref: apps/netutils/xedge/BAS/examples/xedge/src/xedge.h */
"Thread", /* Ref: apps/netutils/xedge/BAS/examples/xedge/src/xedge.h */
"LThread", /* Ref: apps/netutils/xedge/BAS/examples/xedge/src/xedge.h */