You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2022/03/20 15:32:31 UTC

[incubator-nuttx] branch master updated: nxstyle: ignore mixed-case identifiers for Lua types

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 2c450be  nxstyle: ignore mixed-case identifiers for Lua types
2c450be is described below

commit 2c450be9e8f944b648ea4942833312aa29103c97
Author: Michael Mogenson <mi...@gmail.com>
AuthorDate: Sat Mar 19 12:22:42 2022 -0400

    nxstyle: ignore mixed-case identifiers for Lua types
---
 tools/nxstyle.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tools/nxstyle.c b/tools/nxstyle.c
index 846780e..9eb6c66 100644
--- a/tools/nxstyle.c
+++ b/tools/nxstyle.c
@@ -203,6 +203,8 @@ static const char *g_white_prefix[] =
   "ub32",    /* Ref:  include/fixedmath.h */
   "ASCII_",  /* Ref:  include/nuttx/ascii.h */
   "XK_",     /* Ref:  include/input/X11_keysymdef.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 */
 
   NULL
 };